Working with different crypto currency payouts

When working with different crypto currencies to pay out with, there are a few things to think about:

🚧

USDC

When creating USDC payouts remember to specify which protocol in the payoutDetails object - as it may be an ERC20, POLYGON or a BEP20 payout.

🚧

USDT

When creating USDT payouts remember to specify which protocol in the payoutDetails object - as it may be an ERC20, TRC20 or a BEP20 payout.

🚧

XRP

When creating XRP payouts, please specify a Destination Tag in the payoutDetails object
If a recipient has no destination tag, just pass "0"
Destination tags indicate the beneficiary or destination for a payment. For example, a payment to an exchange or gateway address can use a destination tag to indicate which customer to credit for the amount of the payment in that business's own systems. A payment to a merchant could indicate what item or cart the payment is buying.

{
    "merchantId": "86955f40-8f4e-464c-be2b-583635bf1c62",
    "type": "OUT",
    "amount": 10,
    "currency": "USD",
    "expiryMinutes": 30,
    "reference": "test_reference_out_KmkrUm",
    "returnUrl": "https://your-url-here.com/status",
    "payOutDetails": {
        "code": "crypto",
        "currency": "USDT",
        "protocol": "ERC20",
        "address": "0x02ae6765C6991813a3EAa86fe63ebBCA1c9EC156",
        "tag": ""
    },
    "customerId": "c1076fbf-f7a7-4c55-bd8c-046da277bc7b",
    "complianceDetails": {
        "requesterIpAddress": "77.71.188.87",
        "partyDetails": [
            {
                "type": "BENEFICIARY",
                "entityType": "INDIVIDUAL",
                "firstName": "John",
                "lastName": "Doe",
                "dateOfBirth": "1984-06-30",
                "relationshipType": "THIRD_PARTY",
                "countryCode": "DE"
            }
        ]
    }
}