Payments
Get a payment
Retrieve a payment.
get/v2/payments/{payment_id}
Request
- Base URLhttps://api.getpaid.io
- Auth
- OAuth 2Client credentialsToken URLhttps://auth.getpaid.io/oauth/tokenScopespayments:read
- or OAuth 2Client credentialsToken URLhttps://auth.getpaid.io/oauth/tokenScopespayments:read_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
payment_idstring id required
The unique identifier of the payment.
Example:pay_4a4m2pjycdb1jbj68h1rvk9kcz
Response
OK
Example response
{
"id": "pay_4a4m2pjycdb1jbj68h1rvk9kcz",
"reference": "ORD-202510-0232",
"created_at": "2025-09-01T22:05:48.479Z",
"updated_at": "2025-09-01T22:05:48.479Z",
"estimated_update_before": "2025-09-01T22:05:48-08:00",
"amount": 1000,
"currency": "EUR",
"description": "Order 202510-0232",
"statement_descriptor": "GPD*TITAN*202510-0232",
"origin": {
"id": "cko_4kf9v6xp00hzc99rdwr5m97wce"
},
"method": {
"dynamic_descriptor": "TITAN*202510-0232",
"card": {
"holder_name": "Jane Doe",
"first_digits": "424242",
"last_digits": "4242",
"expiry_month": 12,
"expiry_year": 2025,
"kind": "credit",
"segment": "consumer"
}
},
"splits": {
"accounts": [
{
"id": "acc_44678r08jtm8zbt227tzhc4nw5",
"version": "2",
"split": {
"amount": 1000
},
"processing_fee": {
"percentage": 100,
"amount": 1000
}
}
]
},
"standing_instruction": {
"id": "sti_4tbftjwzxja1h71nzas1g0g1xm",
"first": {
"id": "pay_4a4m2pjycdb1jbj68h1rvk9kcz"
}
},
"refunds": [
{
"id": "rfd_4a4m2pjycdb1jbj68h1rvk9kcz",
"reference": "ORD-202510-0232",
"created_at": "2025-09-01T22:05:48.479Z",
"updated_at": "2025-09-01T22:05:48.479Z",
"amount": 1000
}
],
"totals": {
"net": 1000,
"captured": 1000,
"refunded": 1000,
"refundable": 1000,
"processing_fees": 1000,
"accounts": [
{
"id": "acc_44678r08jtm8zbt227tzhc4nw5",
"version": "2",
"net": 1000,
"captured": 1000,
"refunded": 1000,
"refundable": 1000,
"processing_fees": 1000
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.