Simulate a deposit into a funding account
Sandbox only. The simulated provider reports a deposit; it is verified and credited through the same path as a real one. Not served in live.
apiKeyAuthorizationBearer <clave>Your secret API key, sent as Authorization: Bearer <key>. A key names its environment: psp_test_… works only against sandbox (https://api-sandbox.caibopay.app), psp_live_… only against live (https://api.caibopay.app). Keys are issued by Caibo when your account is opened; the dashboard (Developers) shows the key in use.
application/json- body
amount*stringThe amount that arrives, in currency. A decimal string in the currency's precision.
^[0-9]+(\.[0-9]+)?$currency?stringWhat amount is in. The account's settlement_currency (the default): that amount is credited. Or the account's currency, what the payer pays in: the simulated provider converts it into the settlement currency at its indicative rate, rounded down, and the pay-in records both (amount credited, paid).
funding_account_id*stringThe id of the active funding account.
^fa_[0-9a-z]+$Accepted
application/json- response
amount*stringThe amount, as stated. A decimal string in the currency's precision.
^[0-9]+(\.[0-9]+)?$currency*stringThe currency it was stated in.
funding_account_id*stringThe funding account.
status*"accepted"The deposit was reported; it is credited asynchronously.
"accepted"curl -X POST 'https://api-sandbox.caibopay.app/v1/sandbox/deposits' \ -H 'Content-Type: application/json' \ -d '{ "amount": "string", "funding_account_id": "string"}'{ "amount": "string", "currency": "string", "funding_account_id": "string", "status": "accepted"}