API ReferenceTransfers
Retrieve a transfer
GET /v1/transfers/{id} : fetch a transfer's current state.
GET /v1/transfers/{id}
Headers
| Header | Required | Value |
|---|---|---|
Authorization | yes | Bearer sk_... |
Path params
| Param | Type | Notes |
|---|---|---|
id | string | Transfer ULID |
Request
curl https://api.ouipay.africa/v1/transfers/01M2S18... \
-H "Authorization: Bearer sk_test_..."Response 200
The transfer object. For the durable
record: including failure.code/failure.stage and the hold state :
retrieve the linked transaction via GET /v1/transactions/{transaction_id}.
Errors
| HTTP | error.code | Cause |
|---|---|---|
| 404 | NOT_FOUND | No such transfer |
| 403 | FORBIDDEN | Not your resource |