curl --request GET \
--url https://api.bachs.io/v1/payouts/{withdrawal_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/payouts/{withdrawal_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/payouts/{withdrawal_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bachs.io/v1/payouts/{withdrawal_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "pay_4Xr9dLc0mNv7Kq2B",
"status": "processing",
"amount": "5000.00",
"currency": "NGN",
"source_currency": "NGN",
"fee": "100.00",
"total_debited": "5100.00",
"destination": "pd_7Kq2mNv4XbR9dLc0",
"reference": "WD-20260222-001",
"failure_reason": null,
"created_at": "2026-02-22T12:00:00.000Z",
"completed_at": null
}{
"detail": "Invalid request parameters",
"error_code": "VALIDATION_ERROR",
"errors": [
{
"field": "amount",
"message": "Amount must be a positive decimal string",
"type": "value_error"
}
]
}{
"detail": "Invalid API key",
"error_code": "UNAUTHORIZED"
}{
"detail": "API key does not have permission for this operation",
"error_code": "FORBIDDEN"
}{
"detail": "Resource not found",
"error_code": "NOT_FOUND"
}{
"detail": "Rate limit exceeded. Please retry after a few seconds.",
"error_code": "TOO_MANY_REQUESTS"
}{
"detail": "An unexpected error occurred. Please try again later.",
"error_code": "INTERNAL_SERVER_ERROR"
}Get Payout
Get a payout withdrawal by ID.
curl --request GET \
--url https://api.bachs.io/v1/payouts/{withdrawal_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/payouts/{withdrawal_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/payouts/{withdrawal_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bachs.io/v1/payouts/{withdrawal_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "pay_4Xr9dLc0mNv7Kq2B",
"status": "processing",
"amount": "5000.00",
"currency": "NGN",
"source_currency": "NGN",
"fee": "100.00",
"total_debited": "5100.00",
"destination": "pd_7Kq2mNv4XbR9dLc0",
"reference": "WD-20260222-001",
"failure_reason": null,
"created_at": "2026-02-22T12:00:00.000Z",
"completed_at": null
}{
"detail": "Invalid request parameters",
"error_code": "VALIDATION_ERROR",
"errors": [
{
"field": "amount",
"message": "Amount must be a positive decimal string",
"type": "value_error"
}
]
}{
"detail": "Invalid API key",
"error_code": "UNAUTHORIZED"
}{
"detail": "API key does not have permission for this operation",
"error_code": "FORBIDDEN"
}{
"detail": "Resource not found",
"error_code": "NOT_FOUND"
}{
"detail": "Rate limit exceeded. Please retry after a few seconds.",
"error_code": "TOO_MANY_REQUESTS"
}{
"detail": "An unexpected error occurred. Please try again later.",
"error_code": "INTERNAL_SERVER_ERROR"
}Authorizations
Bearer token authentication. Pass your API key as Authorization: Bearer sk_.... See Authentication for keys, scopes, and sandbox vs production.
Path Parameters
Withdrawal ID.
Response
Success - Payout retrieved
The one shape a payout has on this API, across create, retrieve and list. amount is denominated in currency; fee and total_debited are denominated in source_currency. The two differ on every cross-currency payout, so the debit side must say which one it is in. For a same-currency payout source_currency equals currency.
The payout ID. Use this to look it up with Get Payout.
"pay_4Xr9dLc0mNv7Kq2B"
pending: accepted and queued. processing: submitted to the payment rail. completed: delivered to the destination. failed: could not be delivered, see failure_reason.
pending, processing, completed, failed "pending"
The net amount delivered to the destination, in currency.
"5000.00"
The destination's currency. amount is denominated in this currency.
"NGN"
The currency of the balance being debited. fee and total_debited are denominated in this currency. Equal to currency for a same-currency payout; different for a cross-currency payout funded with a quote_id.
"NGN"
The fee charged for this payout, in source_currency.
"100.00"
The gross amount debited from your balance, in source_currency. Equals amount + fee only for a same-currency payout, because on a cross-currency payout amount is in a different currency, so the two do not add up.
"5100.00"
The payout destination ID this payout was sent to.
"pd_7Kq2mNv4XbR9dLc0"
The reference you set when you created the payout. null if you set none.
"payout-2026-08-07-001"
Populated only when status is failed.
null
ISO 8601 creation timestamp.
"2026-08-07T14:30:00.000Z"
ISO 8601 timestamp of when the payout reached a terminal state. null while status is pending or processing.
null

