Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Instamojo Payment Requests API

Create and manage payment requests

Instamojo Payment Requests API is one of 5 APIs that Instamojo publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Payment Requests. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 3 paths, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against 2 base URLs: https://api.instamojo.com/v2, https://test.instamojo.com/v2.

4 operations 3 paths 5 schemas 3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
https://api.instamojo.com/v2/
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Instamojo Payment Requests API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — OAuth2 Bearer token obtained from /oauth2/token/

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Payment Requests 4

Create and manage payment requests

GET
/payment_requests/
List Payment Requests
listPaymentRequests 6 params → 200401
POST
/payment_requests/
Create a Payment Request
createPaymentRequest body → 200400401
GET
/payment_requests/{id}/
Get a Payment Request
getPaymentRequest 1 param → 200401404
GET
/payment_requests/{id}/{payment_id}/
Get Payment Details for a Payment Request
getPaymentForRequest 2 params → 200401404

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are PaymentRequest (15 properties), Payment (13 properties), PaymentRequestCreate (10 properties), Error (3 properties). Each schema is shown below with its type and property counts.

PaymentRequestDetail
PaymentRequest
object
15 properties
PaymentRequestCreate
object
10 properties 2 required
Error
object
3 properties
Payment
object
13 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

instamojo-payment-requests-api-openapi.yml Raw ↑

Other APIs Instamojo publishes across the network.

Instamojo Authentication API
Instamojo Orders API
Instamojo Payments API
Instamojo Refunds API