Payzio API Docs

Get Payin Status

Get the status of a payin transaction from internal records.

POST
/payments/payin_status

Get the status of a payin transaction from internal records.

Authorization

BearerAuth
AuthorizationBearer <token>

Merchant API key in the form Bearer sk_<token>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

payment_id*Payment Id

Payment id generated by payzio

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://loading/payments/payin_status" \  -H "Content-Type: application/json" \  -d '{    "payment_id": "string"  }'
{
  "status": "string",
  "money": {
    "amount": 0,
    "currency": "string"
  },
  "channel_txn_id": "string",
  "utr": "string"
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}