Payments
Get Payment
Getting Started
- Overview
- Authentication
- Concepts
- Error Codes
- Real-time Events
- Changelog
Core Profile
- Profile
- Members
- Owners
- Addresses
- Documents
- Access Tokens
- Webhooks
Core Wallet
- Wallets
- Balances
- Accounts
- Contacts
- Payment Links
- Statements
- Transfers
- Transactions
Billing & Payments
- Customers
- Plans
- Vouchers
- Invoices
- Subscriptions
- Payments
Integrations
- Payment Providers
Analytics & Logs
- Metrics
- Logs
Resources
- Banks
- Countries
- Currencies
- Events
- Industries
- Legal Form
- Providers
- Scopes
Get Payment
Fetch payment information.
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Payment ID.
Response
200
application/json
Successfully retrieved payment details.
Example:
true
Example:
"pmt_123456"
Example:
680297
Example:
"inv_123456"
Example:
"Payment for Invoice #600783"
Example:
"SRD"
Available options:
pending
, approved
, settled
, refunded
, cancelled
Example:
"approved"
Example:
135
Example:
135
Example:
2.56
Example:
132.44
Example:
"Jane Smith"
Example:
"5978123456"
Example:
"Example Street 10"
Example:
"Example Street 11"
Example:
"Paramaribo"
Example:
"Kwatta"
Example:
"SR"
Was this page helpful?
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
}
}