v1

latestOpenAPI 3.1.02026-07-24360204.4 KB

Status check API with payment_token

Using payment Token Id, status check API will return the payment status parameters.

get/v1/pg/sandbox/payment_token/{tokenvalue}/payment

Path parameters

tokenvaluestring required

Response

200

amountstring
currencystring
idstring
entitystring
statusstring
{"stackTrail":"paths:/v1/pg/sandbox/payment_token/{tokenvalue}/payment:get:responses:200:content:application/json:schema:properties:payment_instrument","oasType":"schema","type":"unknown"}

Example response

{
  "amount": "50.00",
  "currency": "INR",
  "id": "py_BRUhvi4vKnM4I1p",
  "entity": "payment",
  "status": "created",
  "customer": {
    "contact_number": "8682008771",
    "email_id": "jithinpv007@gmail.com",
    "id": "cs_xH4IU9FRPDtoX",
    "entity": "customer"
  },
  "payment_token": {
    "amount": "50.00",
    "currency": "INR",
    "attempts": 11,
    "id": "pt_BROsipkgxYSuvKQ",
    "entity": "payment_token",
    "status": "attempted",
    "udf": {
      "one": "one"
    }
  }
}