Mint signing payload
curl --request GET \
--url https://sg.sandbox.api.reap.global/crypto-withdrawals/{id}/payload \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/crypto-withdrawals/{id}/payload', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/crypto-withdrawals/{id}/payload"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"executionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payloadToSign": "<string>",
"validUntil": "<string>"
}{
"error": {
"code": "CRYPTO_WITHDRAWAL_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CRYPTO_WITHDRAWAL_NOT_SIGNABLE",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CRYPTO_WITHDRAWAL_UNAVAILABLE",
"message": "<string>",
"detail": {}
}
}Crypto Withdrawals
Mint signing payload
Mints a fresh payload for the wallet owner to sign. Call this immediately before signing; each call retires any earlier unsigned payload. Only valid while the withdrawal awaits a signature.
GET
/
crypto-withdrawals
/
{id}
/
payload
Mint signing payload
curl --request GET \
--url https://sg.sandbox.api.reap.global/crypto-withdrawals/{id}/payload \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/crypto-withdrawals/{id}/payload', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/crypto-withdrawals/{id}/payload"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"executionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payloadToSign": "<string>",
"validUntil": "<string>"
}{
"error": {
"code": "CRYPTO_WITHDRAWAL_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CRYPTO_WITHDRAWAL_NOT_SIGNABLE",
"message": "<string>",
"detail": {}
}
}{
"error": {
"code": "CRYPTO_WITHDRAWAL_UNAVAILABLE",
"message": "<string>",
"detail": {}
}
}Authorizations
API key as Bearer token
Headers
API version (YYYY-MM-DD)
Available options:
2025-02-14 Example:
"2025-02-14"
Path Parameters
Crypto withdrawal ID
Response
Fresh signing payload for an in-flight crypto withdrawal
Identifier of the payload being offered. Pass it back unchanged when submitting the signature.
Exact bytes the wallet owner must sign. Opaque to the client - forward to the wallet as-is.
When this payload expires. Past this point mint a fresh one before signing.