Recipients
Operations for managing recipient accounts
Create a new recipient for payments. Recipients can have crypto settlement details, fiat settlement details with KYC information, or both.
Authentication
All API requests to orda require HMAC signatures using your project's client ID and client secret. The signature is a HMAC-SHA256 hash of the request body, using your Client Secret as the key. For the endpoints where there is no request body, use an empty string.
Required Headers
x-client-id
Your project's client ID
x-signature
HMAC-SHA256 signature derived from your client secret
Content-Type
application/json for this request
--
Important Notes:
The
cryptoSettlementDetailsobject contains blockchain settlement informationThe
kycInformationobject is required forfiatSettlementDetailsBoth
kycInformationandfiatSettlementDetailsare optional for crypto-only transactionsYou need a project client ID to create recipients
Your project client ID from orda dashboard
prj_abc123def456ghi789Example: prj_abc123def456ghi789HMAC-SHA256 signature of canonical request body using your client secret
a1b2c3d4e5f6789abc123def456ghi789abc123def456Example: a1b2c3d4e5f6789abc123def456ghi789abc123def456Unix timestamp in milliseconds for replay protection (recommended)
1704067200000Example: 1704067200000Name of the recipient
Leeroy JenkinsRecipient created successfully
Bad Request - Invalid parameters
Unauthorized - Invalid client ID
Not Found - Project not found
Conflict - Recipient with same name already exists
Unprocessable Entity - Invalid data format
Too Many Requests
Internal Server Error
POST /v1/create-recipient HTTP/1.1
Host: api.orda.network
x-client-id: prj_abc123def456ghi789
x-signature: a1b2c3d4e5f6789abc123def456ghi789abc123def456
x-timestamp: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 181
{
"name": "DeFi Protocol",
"cryptoSettlementDetails": {
"toChain": "8453",
"toToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"toAddress": "0x742d35Cc6634C0532925a3b844Bc45426438f000"
}
}{
"message": "Recipient created successfully",
"recipientId": "generated-recipient-id"
}Update an existing recipient's settlement details.
Authentication
All API requests to orda require HMAC signatures using your project's client ID and client secret. The signature is a HMAC-SHA256 hash of the request body, using your Client Secret as the key. For the endpoints where there is no request body, use an empty string.
Required Headers
x-client-id
Your project's client ID
x-signature
HMAC-SHA256 signature derived from your client secret
Content-Type
application/json for this request
Important Notes:
The recipient ID will remain the same despite settlement details changing
The response includes previously stored settlement details for audit trail
You need the project's client ID to update recipients
Your project client ID from orda dashboard
prj_abc123def456ghi789Example: prj_abc123def456ghi789HMAC-SHA256 signature of canonical request body using your client secret
a1b2c3d4e5f6789abc123def456ghi789abc123def456Example: a1b2c3d4e5f6789abc123def456ghi789abc123def456Unix timestamp in milliseconds for replay protection (recommended)
1704067200000Example: 1704067200000ID of the recipient to update
Recipient updated successfully
Bad Request - Invalid parameters
Unauthorized - Invalid client ID
Not Found - Recipient not found
Unprocessable Entity - Invalid data format
Too Many Requests
Internal Server Error
PUT /v1/update-recipient HTTP/1.1
Host: api.orda.network
x-client-id: prj_abc123def456ghi789
x-signature: a1b2c3d4e5f6789abc123def456ghi789abc123def456
x-timestamp: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 190
{
"recipientId": "recipient-12345",
"cryptoSettlementDetails": {
"toChain": "8453",
"toToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"toAddress": "0x742d35Cc6634C0532925a3b844Bc45426438f000"
}
}{
"message": "Recipient details updated successfully",
"previousDetails": {}
}Deactivate a recipient to prevent it from processing further transactions. Existing transactions will not be affected.
Authentication
All API requests to orda require HMAC signatures using your project's client ID and client secret. The signature is a HMAC-SHA256 hash of the request body, using your Client Secret as the key. For the endpoints where there is no request body, use an empty string.
Required Headers
x-client-id
Your project's client ID
x-signature
HMAC-SHA256 signature derived from your client secret
Content-Type
application/json for this request
Important Notes:
Only the business can deactivate their recipients
Deactivation can be undone by the business at any time using the
/reactivate-recipientendpointNew transactions using the deactivated recipient's ID will be rejected
Your project client ID from orda dashboard
prj_abc123def456ghi789Example: prj_abc123def456ghi789HMAC-SHA256 signature of canonical request body using your client secret
a1b2c3d4e5f6789abc123def456ghi789abc123def456Example: a1b2c3d4e5f6789abc123def456ghi789abc123def456Unix timestamp in milliseconds for replay protection (recommended)
1704067200000Example: 1704067200000ID of the recipient to deactivate
Recipient deactivated successfully
Bad Request - Missing recipient ID
Unauthorized - Invalid API key
Not Found - Recipient not found
Too Many Requests
Internal Server Error
PUT /v1/deactivate-recipient HTTP/1.1
Host: api.orda.network
x-client-id: prj_abc123def456ghi789
x-signature: a1b2c3d4e5f6789abc123def456ghi789abc123def456
x-timestamp: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"recipientId": "recipient-12345"
}{
"message": "Recipient deactivated successfully",
"recipientName": "Example Recipient",
"deactivatedAt": "2024-03-19T12:34:56.789Z"
}