Get details of a specific payment collection — amount, status, checkout URL, and metadata. GET /collections/.
| Parameter | Type | Description |
|---|---|---|
collectionId | string | The collection ID (batch ID) |
| Field | Type | Description |
|---|---|---|
collectionId | string | Unique collection identifier |
reference | string | Human-readable reference |
orderId | string | Your order ID (if provided) |
amount | number | Payment amount |
fee | number | Processing fee |
netAmount | number | Amount received (amount - fee) |
currency | string | Currency code |
description | string | Payment description |
status | string | Payment status |
statusReason | string | Reason for status (if failed/refunded) |
payer | object | Payer information |
metadata | object | Your custom metadata |
completedAt | string | Completion timestamp |
expiresAt | string | Session expiry time |
createdAt | string | Creation timestamp |
| Field | Type | Description |
|---|---|---|
email | string | Payer’s email |
name | string | Payer’s name |
accountName | string | Fyatu account name |
clientId | string | Payer’s Fyatu client ID |
| Status | Description |
|---|---|
PENDING | Awaiting payment |
COMPLETED | Payment successful |
FAILED | Payment failed or expired |
REFUNDED | Fully refunded |
PARTIALLY_REFUNDED | Partially refunded |
webhookUrlstatus is COMPLETEDamount matches expected value| Error Code | HTTP | Description |
|---|---|---|
RESOURCE_NOT_FOUND | 404 | Collection not found or not owned by you |
AUTH_TOKEN_INVALID | 401 | Invalid or expired token |