Get a payout
A payout paid by deposit (`funding`), and where it stands. Any key on the account can read it.
Authorization
KeyID Timestamp Nonce Signature Your key id, gyv_k_live_... or gyv_k_sandbox_....
In: header
Unix seconds. Must be within 5 minutes of our clock.
In: header
A unique value per request. Replays are rejected.
In: header
Ed25519 signature over the canonical string. See the Signing guide.
In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/payouts/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "reference": "string", "status": "awaiting_funds", "status_reason": "string", "funding": { "method": "deposit", "chain": "string", "pay_to": "string", "expires_at": "2019-08-24T14:15:22Z", "networks": [ "string" ] }, "currency": "string", "amount": "string", "amount_minor": "string", "received_amount": "string", "received_amount_minor": "string", "settlement_currency": "string", "settlement_amount": "string", "settlement_amount_minor": "string", "min_settlement_amount": "string", "min_settlement_amount_minor": "string", "transaction": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "reference": "string" }, "created_at": "2019-08-24T14:15:22Z" }}Pay a beneficiary in local currency
Converts from your Bitcoin or stablecoin balance and pays out in local currency, in one call. `amount_minor` is what leaves your wallet. Set `min_settlement_amount_minor` to have the payout refused, with nothing debited, if the recipient would get less (`slippage_exceeded`). Pay a saved recipient by `beneficiary_id`, or a new one by `destination`. Some corridors also need a `sender`. To pay by sending the money in instead of from your wallet, add `funding: {"method": "deposit", "chain": "tron"}`. The response gives an address (or a Lightning invoice) in `funding.pay_to`. Send exactly `amount_minor` of `asset` there before `funding.expires_at`, and the payout goes out once it arrives. Follow it with Get a payout. If the rate has fallen below `min_settlement_amount_minor` by then, the payout is not sent and the money goes to your wallet. If you leave it out, the floor is a little under the quote.
Look up an account
Returns the name on a bank or mobile-money account, so you can confirm who you are paying before you pay. Available where the corridor's `name_enquiry` is true. Needs a key with the `money` capability.