Create transfer order
Create a transfer order from an account to a recipient. Requires Ed25519 signature for security. See the 'Ed25519 Signature' topic for implementation details.
Headers
-
The workspace ID - to identify the sub-user
-
Unix timestamp in milliseconds (for deduplication and replay protection)
-
Ed25519 signature of the request hash See the 'Ed25519 Signature'.
Body
Required
Transfer order details
-
Amount in smallest currency unit (e.g., cents for USD). The 'decimals' field in the Currency model tells you how many decimal places the currency uses. For example, if decimals = 2 for USD, all amounts are stored in cents (the smallest unit), so 2000 means 2000 cents, or $20.00
-
Optional transfer description (max 512 chars, alphanumeric only)
-
Purpose code from /orders/purposes
-
Recipient ID from /recipients endpoint
-
For recurring transfers
Values are
daily,weekly, ormonthly. -
Repeat interval value (for recurring)
-
ISO 8601 timestamp for scheduled/recurring transfers
-
ISO 8601 timestamp to stop recurring transfers
-
Order type
Values are
instant,scheduled, orrecurring.
curl \
--request POST 'https://auth.bank.place/accounts/{accountId}/orders' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "Workspace-ID: 42" \
--header "X-Nonce: 1704528000000" \
--header "X-Signature: 3iJWNwZfE/tGNgPE8/eU0RN9aMEkJ5IWnhGV1vZ0HXqhpBJ4kZJZrY7wQH2M..." \
--data '{"type":"instant","amount":"100000","description":"From My","purposeCode":"IR001","recipientID":368}'
{
"type": "instant",
"amount": "100000",
"description": "From My",
"purposeCode": "IR001",
"recipientID": 368
}
{
"amount": "string",
"createdAt": "string",
"description": "string",
"edges": {
"account": {
"alias": "string",
"code": "string",
"createdAt": "string",
"edges": {
"balances": [
{
"amount": 42,
"createdAt": "string",
"id": 42,
"updatedAt": "string"
}
],
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
},
"product": {
"createdAt": "string",
"description": "string",
"edges": {
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"status": "string",
"type": "string",
"updatedAt": "string"
},
"events": [
{
"createdAt": "string",
"id": 42,
"message": "string",
"type": "string",
"updatedAt": "string"
}
],
"executions": [
{
"createdAt": "string",
"edges": {
"transaction": {
"createdAt": "string",
"edges": {
"internationalRemittance": {
"createdAt": "string",
"edges": {
"events": [
{
"createdAt": "string",
"id": 42,
"lastUpdatedAt": "string",
"message": "string",
"status": "string"
}
]
},
"id": 42,
"updatedAt": "string"
},
"transfers": [
{
"amount": "string",
"createdAt": "string",
"description": "string",
"direction": "string",
"edges": {
"account": {
"alias": "string",
"code": "string",
"createdAt": "string",
"edges": {
"balances": [
{
"amount": 42,
"createdAt": "string",
"id": 42,
"updatedAt": "string"
}
],
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
},
"product": {
"createdAt": "string",
"description": "string",
"edges": {
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"status": "string",
"type": "string",
"updatedAt": "string"
},
"balance": {
"amount": 42,
"createdAt": "string",
"id": 42,
"updatedAt": "string"
},
"recipient": {
"accountCode": "string",
"alias": "string",
"createdAt": "string",
"edges": {
"bank": {
"countryCode": "string",
"createdAt": "string",
"id": 42,
"name": "string",
"swiftCode": "string",
"updatedAt": "string"
},
"beneficiary": {
"createdAt": "string",
"data": {},
"id": 42,
"updatedAt": "string"
},
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"saved": true,
"updatedAt": "string"
},
"transaction": {}
},
"feeAmount": "string",
"id": 42,
"purpose": "string",
"type": "string",
"updatedAt": "string"
}
]
},
"hash": "string",
"id": 42,
"status": "string",
"updatedAt": "string"
}
},
"id": 42,
"updatedAt": "string"
}
],
"recipient": {
"accountCode": "string",
"alias": "string",
"createdAt": "string",
"edges": {
"bank": {
"countryCode": "string",
"createdAt": "string",
"id": 42,
"name": "string",
"swiftCode": "string",
"updatedAt": "string"
},
"beneficiary": {
"createdAt": "string",
"data": {},
"id": 42,
"updatedAt": "string"
},
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"saved": true,
"updatedAt": "string"
}
},
"id": 42,
"purposeCode": "string",
"repeatUnit": "string",
"repeatValue": 42,
"startAt": "string",
"status": "string",
"stopAt": "string",
"type": "string",
"updatedAt": "string"
}
{
"message": "Invalid request parameters",
"errorCode": "invalid_request"
}
{
"message": "Invalid request parameters",
"errorCode": "invalid_request"
}
{
"message": "Invalid request parameters",
"errorCode": "invalid_request"
}