Refund an underpaid crypto payment
POST
Send what the customer paid back to their wallet. The refund is reviewed before it's sent; the network fee comes out of it.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
id*stringx-api-key*stringAPI key for authentication
Length
1 <= length- body
address*stringThe customer's wallet address
Length
1 <= lengthmemo?stringMemo or tag, for coins that need one
Response for status 201
application/json- response
id*stringobject*stringtype*stringpayout or refund
status*stringpending_approval, processing, paid, failed or rejected
coin*stringaddress*stringmemo*string|nullamount*stringTaken from the balance
fee*stringAccess's fee, part of amount
network_fee*|Network fee estimate, part of amount
transaction_hash*string|nullrejected_reason*string|nullpayment*|The refunded payment
description*string|nullpaid_at*string|nullcreated_at*string|nullupdated_at*string|nullcurl -X POST 'https://api.tryaccess.xyz/api/v1/crypto_payments/string/refund' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{ "address": "string"}'{ "id": "cpo_01JB2X7Q9R8S6T5U4V3W2X1Y0Z", "object": "crypto_payout", "type": "payout", "status": "pending_approval", "coin": "usdt_tron", "address": "string", "memo": "string", "amount": "120.5", "fee": "string", "network_fee": "string", "transaction_hash": "string", "rejected_reason": "string", "payment": "string", "description": "string", "paid_at": "string", "created_at": "string", "updated_at": "string"}How is this guide?