GET
/
payments
/
{payment_id}
curl --request GET \
  --url https://api.live.paisr.tech/{version}/payments/{payment_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "pmt_123456",
    "sid": 680297,
    "invoice_id": "inv_123456",
    "description": "Payment for Invoice #600783",
    "currency": "SRD",
    "status": "approved",
    "payment_method": {
      "provider": "Paisr Pay",
      "type": "platform"
    },
    "amount": {
      "sub_total": 135,
      "tax": {
        "rate": 0,
        "type": "percentage",
        "total": 0
      },
      "due_total": 135,
      "fee_total": 2.56,
      "output_total": 132.44
    },
    "billing_details": {
      "name": "Jane Smith",
      "phone": "5978123456",
      "line_1": "Example Street 10",
      "line_2": "Example Street 11",
      "city": "Paramaribo",
      "state": "Kwatta",
      "zip_code": "<string>",
      "country": "SR"
    },
    "notes": null,
    "metadata": null,
    "initiated_at": "2023-11-07T05:31:56Z",
    "approved_at": "2023-11-07T05:31:56Z",
    "settled_at": null,
    "cancelled_at": null,
    "cancelled_by": null,
    "reversed_at": null,
    "reversed_by": null
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

payment_id
string
required

The Payment ID.

Response

200
application/json
Successfully retrieved payment details.
success
boolean
Example:

true

data
object