Get a payment
curl --request GET \
--url https://api-sandbox.superbank.co/v0/payments/{id} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-sandbox.superbank.co/v0/payments/{id}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-sandbox.superbank.co/v0/payments/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "d4e5f6a7-b8c9-4d0e-a1f2-3b4c5d6e7f8a",
"type": "PAYOUT",
"status": "COMPLETED",
"source": {
"amount": "100.00",
"currency": "USDC",
"rail": "SOLANA",
"wallet_address": "8yLMnPq3RS8uvwXM2j0KUr2eZpHcVmN4tRfuGxHyW92V",
"transaction_hash": "5wHu1qwD7q4bJCRrA..."
},
"destination": {
"amount": "100.00",
"currency": "USDC",
"rail": "SOLANA",
"wallet_address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"transaction_hash": "5wHu1qwD7q4bJCRrA..."
},
"created_at": "2026-01-20T15:20:00.000Z",
"updated_at": "2026-01-20T15:20:30.000Z",
"settlement_request_id": "d4e5f6a7-b8c9-4d0e-a1f2-3b4c5d6e7f8a",
"fee": "0.50",
"metadata": {
"orderId": "order-123"
},
"failure_reason": "Insufficient funds",
"completed_at": "2026-01-20T15:20:30.000Z"
}Payments
Get a payment
Retrieve details of a specific payment by ID.
GET
/
v0
/
payments
/
{id}
Get a payment
curl --request GET \
--url https://api-sandbox.superbank.co/v0/payments/{id} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-sandbox.superbank.co/v0/payments/{id}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-sandbox.superbank.co/v0/payments/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "d4e5f6a7-b8c9-4d0e-a1f2-3b4c5d6e7f8a",
"type": "PAYOUT",
"status": "COMPLETED",
"source": {
"amount": "100.00",
"currency": "USDC",
"rail": "SOLANA",
"wallet_address": "8yLMnPq3RS8uvwXM2j0KUr2eZpHcVmN4tRfuGxHyW92V",
"transaction_hash": "5wHu1qwD7q4bJCRrA..."
},
"destination": {
"amount": "100.00",
"currency": "USDC",
"rail": "SOLANA",
"wallet_address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"transaction_hash": "5wHu1qwD7q4bJCRrA..."
},
"created_at": "2026-01-20T15:20:00.000Z",
"updated_at": "2026-01-20T15:20:30.000Z",
"settlement_request_id": "d4e5f6a7-b8c9-4d0e-a1f2-3b4c5d6e7f8a",
"fee": "0.50",
"metadata": {
"orderId": "order-123"
},
"failure_reason": "Insufficient funds",
"completed_at": "2026-01-20T15:20:30.000Z"
}Authorizations
Path Parameters
Payment ID
Example:
"pay_abc123"
Response
Payment retrieved successfully
Payment ID
Example:
"d4e5f6a7-b8c9-4d0e-a1f2-3b4c5d6e7f8a"
Payment type
Available options:
PAYOUT, PAYIN Example:
"PAYOUT"
Payment status
Available options:
AWAITING_FUNDS, PENDING, PROCESSING, SENT, COMPLETED, CANCELED, FAILED, EXPIRED, REFUNDED, SCHEDULED, UNDER_REVIEW Example:
"COMPLETED"
Source payment details
Show child attributes
Show child attributes
Destination payment details
Show child attributes
Show child attributes
Payment creation timestamp
Example:
"2026-01-20T15:20:00.000Z"
Payment last update timestamp
Example:
"2026-01-20T15:20:30.000Z"
Associated settlement request ID
Example:
"d4e5f6a7-b8c9-4d0e-a1f2-3b4c5d6e7f8a"
Fee amount
Example:
"0.50"
Custom metadata attached to the payment
Example:
{ "orderId": "order-123" }
Failure reason if payment failed
Example:
"Insufficient funds"
Payment completion timestamp
Example:
"2026-01-20T15:20:30.000Z"