StampMitraStampMitra Developers

Payment

● Live

Create a payment intent and check payment status for an order.

POST/v1/payments/intents
● Live

Create a payment intent

Create a payment intent (Razorpay-backed) for an order.

Required scope: payments.write

Parameters

NameTypeRequiredDescription
AuthorizationheaderYesBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
Idempotency-KeyheaderNoOptional idempotency key.
GET/v1/payments/intents/:id
● Live

Get a payment intent

Fetch the current state of a payment intent.

Required scope: payments.read

Parameters

NameTypeRequiredDescription
AuthorizationheaderYesBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
GET/v1/orders/:id/payment
● Live

Get an order's payment

Fetch the payment associated with a given order.

Required scope: orders.read

Parameters

NameTypeRequiredDescription
AuthorizationheaderYesBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.