Retrieve a pay-in
A credited pay-in also says what it has given back (refunded) and what can still be refunded (refundable).
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.
id*stringOK
application/json- response
amount?stringWhat was credited, or will be. A decimal string in the currency's precision.
^[0-9]+(\.[0-9]+)?$completed_at?stringWhen it was credited.
date-timecreated_at*stringWhen it was first seen.
date-timecurrency?stringThe currency credited.
failure_code?stringWhy it failed.
funding_account_id*stringThe id of the funding account.
^fa_[0-9a-z]+$id*stringThe id of the pay-in.
^pin_[0-9a-z]+$paid?What the payer paid, when the provider reports it apart from what was credited: a payer paying USD by bank transfer into an account credited in USDT. Evidence beside the credit; the balance is credited amount in currency.
refundable?stringWhat can still be refunded: the credited amount minus refunded. Present once the amount is known. A decimal string in the currency's precision.
^[0-9]+(\.[0-9]+)?$refunded?stringWhat has been sent back to the payer so far, refunds in flight included. Present once the amount is known. A decimal string in the currency's precision.
^[0-9]+(\.[0-9]+)?$status*stringprocessing until the deposit is verified and credited. completed: credited to the balance. failed: it will not arrive.
"processing""completed""failed"curl -X GET 'https://api-sandbox.caibopay.app/v1/payins/string'{ "amount": "string", "completed_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "failure_code": "string", "funding_account_id": "string", "id": "string", "paid": { "amount": "string", "currency": "string" }, "refundable": "string", "refunded": "string", "status": "processing"}