curl --request GET \
--url https://api.bachs.io/v1/accounts/checkout/settings \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/accounts/checkout/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/accounts/checkout/settings"
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/accounts/checkout/settings"
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))
}{
"organization_id": "acct_7KpQ2mNv4XbR9dLc",
"enabled_payment_methods": {
"USD_CARD": {
"enabled": true
},
"NGN_CARD": {
"enabled": false
},
"NGN_BANK_TRANSFER": {
"enabled": true
},
"MOMO_GHS": {
"enabled": true
},
"MOMO_XAF": {
"enabled": true
},
"MOMO_XOF": {
"enabled": true
},
"CRYPTO": {
"enabled": true,
"currencies": {
"BNB_BEP20": false,
"ETH_ETH": false,
"SOL_SOL": false,
"USDC_BEP20": false,
"USDT_BEP20": true,
"USDT_ERC20": false,
"USDT_SOL": false,
"USDT_TRC20": true
}
}
},
"fee_preference": "customer_pays",
"available_currencies": {
"USD_CARD": [
"USD"
],
"NGN_CARD": [
"NGN"
],
"NGN_BANK_TRANSFER": [
"NGN"
],
"MOMO_GHS": [
"GHS"
],
"CRYPTO": [
"BNB_BEP20",
"ETH_ETH",
"SOL_SOL",
"USDC_BEP20",
"USDT_BEP20",
"USDT_ERC20",
"USDT_SOL",
"USDT_TRC20"
]
}
}{
"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 checkout settings
Retrieve checkout configuration for your account context, including enabled payment methods, per-method currency toggles, and fee preference.
curl --request GET \
--url https://api.bachs.io/v1/accounts/checkout/settings \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bachs.io/v1/accounts/checkout/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bachs.io/v1/accounts/checkout/settings"
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/accounts/checkout/settings"
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))
}{
"organization_id": "acct_7KpQ2mNv4XbR9dLc",
"enabled_payment_methods": {
"USD_CARD": {
"enabled": true
},
"NGN_CARD": {
"enabled": false
},
"NGN_BANK_TRANSFER": {
"enabled": true
},
"MOMO_GHS": {
"enabled": true
},
"MOMO_XAF": {
"enabled": true
},
"MOMO_XOF": {
"enabled": true
},
"CRYPTO": {
"enabled": true,
"currencies": {
"BNB_BEP20": false,
"ETH_ETH": false,
"SOL_SOL": false,
"USDC_BEP20": false,
"USDT_BEP20": true,
"USDT_ERC20": false,
"USDT_SOL": false,
"USDT_TRC20": true
}
}
},
"fee_preference": "customer_pays",
"available_currencies": {
"USD_CARD": [
"USD"
],
"NGN_CARD": [
"NGN"
],
"NGN_BANK_TRANSFER": [
"NGN"
],
"MOMO_GHS": [
"GHS"
],
"CRYPTO": [
"BNB_BEP20",
"ETH_ETH",
"SOL_SOL",
"USDC_BEP20",
"USDT_BEP20",
"USDT_ERC20",
"USDT_SOL",
"USDT_TRC20"
]
}
}{
"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.
Headers
Account ID when acting on behalf of a sub-account.
Response
Success - Checkout settings retrieved
The account these settings apply to, which is the account your API key belongs to, or the account you named in X-Account-Id.
"acct_7KpQ2mNv4XbR9dLc"
The methods a customer can pay with at checkout, keyed by exact corridor (USD_CARD, NGN_CARD, NGN_BANK_TRANSFER, MOMO_GHS..MOMO_ZMW, CRYPTO) -- see payment method support. Each entry carries an enabled flag; CRYPTO alone additionally carries a currencies map (per-asset toggles), since every other corridor already names its one currency in the key itself.
Show child attributes
Show child attributes
Who pays the processing fee on a checkout, unless the individual checkout overrides it. customer_pays: the fee is added on top of the amount the customer pays, so you settle the full amount. org_pays: you absorb the fee and it is netted out of what settles into your balance.
customer_pays, org_pays "customer_pays"
Every currency each corridor is configured to accept on the platform, keyed by the same exact corridors as enabled_payment_methods, so you know which currencies you can switch on before you send an update.
Show child attributes
Show child attributes

