Referencia de la API
Todos los endpoints de la API de Caibo Pay, generados desde su contrato OpenAPI. Prueba cualquiera contra sandbox desde su página.
La API de Caibo Pay es una API REST sobre HTTPS. Recibe y devuelve JSON, se autentica con una clave bearer y usa los códigos de estado HTTP estándar. El contrato OpenAPI es la fuente de cada página de abajo.
URL base
- Sandbox
- https://api-sandbox.caibopay.app
- Live
- https://api.caibopay.app
Autenticación
Envía tu clave secreta como Authorization: Bearer <clave>. Una clave psp_test_ solo funciona contra sandbox y una psp_live_ solo contra live.
AutenticaciónIdempotencia
Toda solicitud que crea o mueve dinero lleva un Idempotency-Key. Un reintento con la misma clave devuelve el resultado original y nunca mueve dinero dos veces.
IdempotenciaEndpoints
Account
Who the credential is: the account, its environment and the key in use.
Members
The people who act for the account through the dashboard, and their invitations.
Capabilities
What the account can do.
Balances
Funds per currency, by how usable they are, and the statement behind them.
Customers
The people and businesses you act for.
Beneficiaries
Who is paid.
Customer balances
What you hold for each of your customers, apart from your own money, under your own account.
- GET
/v1/customer-transfersList customer transfers - POST
/v1/customer-transfersMove money between your balance and a customer's - GET
/v1/customer-transfers/{id}Retrieve a customer transfer - GET
/v1/customers/{id}/balancesList a customer's balances - POST
/v1/customers/{id}/balancesOpen a customer's balance in a currency
Quotes
Frozen prices.
Conversions
Your own balance from one currency to another (CAD, USD and digital dollars), at a quoted price.
Payouts
Money out.
- GET
/v1/payout-batchesList payout batches - POST
/v1/payout-batchesCreate a payout batch - GET
/v1/payout-batches/{id}Retrieve a payout batch - POST
/v1/payout-batches/{id}/cancelCancel a payout batch - GET
/v1/payout-batches/{id}/itemsList the items of a payout batch - GET
/v1/payoutsList payouts - POST
/v1/payoutsCreate a payout - GET
/v1/payouts/{id}Retrieve a payout - POST
/v1/payouts/{id}/cancelCancel a payout that was never sent, or one its provider can still stop
Withdrawals
Your own funds to your own bank account: settlement destinations and withdrawals.
- GET
/v1/settlement-destinationsList settlement destinations - POST
/v1/settlement-destinationsCreate a settlement destination - GET
/v1/settlement-destinations/{id}Retrieve a settlement destination - GET
/v1/withdrawalsList withdrawals - POST
/v1/withdrawalsCreate a withdrawal - GET
/v1/withdrawals/{id}Retrieve a withdrawal
Wallets
Your company's own USDC wallets: only your keys control them, the network enforces their limits, the platform pays their fees.
- GET
/v1/wallet-operations/{id}Retrieve a wallet operation - POST
/v1/wallet-operations/{id}/signatureSign a wallet operation - GET
/v1/walletsList wallets - POST
/v1/walletsCreate a wallet - GET
/v1/wallets/{id}Retrieve a wallet - POST
/v1/wallets/{id}/activationActivate a wallet - POST
/v1/wallets/{id}/offrampsMove USDC from a wallet to your balance - POST
/v1/wallets/{id}/transfersPay from a wallet
Remittances
Money in from a payer, out to a beneficiary, at a quoted price.
Funding
Money in: funding accounts and the pay-ins that arrive through them.
Refunds
Money given back: part or all of a credited pay-in sent back to its payer.
Settlements
What the account is owed per period, and its transfer to the account's settlement destination.
Reports
Read-only reports of a period: operations, fees, conversions and balances, as JSON or CSV.
Reconciliation
Inconsistencies found about your operations, and where their investigation stands.
Events
What happened, in order.
Webhooks
Events pushed to your servers, signed.
- POST
/v1/events/{id}/redeliverSend an event to webhook endpoints again - GET
/v1/webhook-endpointsList webhook endpoints - POST
/v1/webhook-endpointsCreate a webhook endpoint - GET
/v1/webhook-endpoints/{id}Retrieve a webhook endpoint - PATCH
/v1/webhook-endpoints/{id}Update, pause or resume a webhook endpoint - DEL
/v1/webhook-endpoints/{id}Delete a webhook endpoint - GET
/v1/webhook-endpoints/{id}/deliveriesList recent deliveries to an endpoint - POST
/v1/webhook-endpoints/{id}/pingSend a test event - POST
/v1/webhook-endpoints/{id}/rotate-secretRotate the signing secret
Sandbox
Sandbox-only helpers.
Hosted pages
The hosted remittance page: its configuration and branding, the hostnames it is served at, and the sessions your customers go through.
- GET
/v1/hosted-domainsList hosted domains - POST
/v1/hosted-domainsClaim a hostname for the hosted page - GET
/v1/hosted-domains/{id}Retrieve a hosted domain - DEL
/v1/hosted-domains/{id}Remove a hosted domain - GET
/v1/hosted-pageRetrieve the hosted page configuration - PUT
/v1/hosted-pageReplace the hosted page configuration - GET
/v1/hosted-sessionsList hosted sessions - POST
/v1/hosted-sessionsCreate a hosted session - GET
/v1/hosted-sessions/{id}Retrieve a hosted session
API keys
The account's API keys in this environment, managed by its members through the dashboard.
Allowed IPs
The addresses your API keys may move money from. Mandatory: an API key moves no money until the account lists one, and none from any other address.
- GET
/v1/allowed-ip-policyRead the policy of the allowed addresses - PATCH
/v1/allowed-ip-policyRelax or enforce the rule in sandbox - GET
/v1/allowed-ipsList the addresses your API keys may move money from - POST
/v1/allowed-ipsAdd an address your API keys may move money from - DEL
/v1/allowed-ips/{id}Remove an allowed address
Financial accounts
- GET
/v1/account/verificationRetrieve your company's verification - POST
/v1/account/verificationStart your company's verification - POST
/v1/account/verification/simulate-approvalApprove your company's verification in sandbox - GET
/v1/financial-accountsList your company's financial accounts - POST
/v1/financial-accountsOpen a financial account for your company - GET
/v1/financial-accounts/{id}Retrieve a financial account - GET
/v1/financial-accounts/{id}/detailsRetrieve a financial account's details - GET
/v1/financial-accounts/{id}/transactionsList a financial account's transactions