curl --request POST \
--url https://api-test.paiera.com/v1/send/create \
--header 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
--header 'Content-Type: application/json' \
--data '{
"send_reference_id": "send_example_001",
"quote_id": "quote_example_001",
"beneficiary_id": "beneficiary_example_001",
"purpose": "SALARY",
"transfer_type": "LOCAL",
"rail": "FEDWIRE"
}'
{
"code": "success",
"message": "success",
"timestamp": 1793145600000,
"success": true,
"data": {
"send_reference_id": "send_example_001",
"transaction_id": "send_example_001",
"status": "PROCESSING",
"source_currency": "USDT",
"source_amount": 100,
"destination_currency": "USD",
"destination_amount": 100
}
}
Send
Initiate Send
Submit a transfer using a beneficiary and optional quote.
curl --request POST \
--url https://api-test.paiera.com/v1/send/create \
--header 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
--header 'Content-Type: application/json' \
--data '{
"send_reference_id": "send_example_001",
"quote_id": "quote_example_001",
"beneficiary_id": "beneficiary_example_001",
"purpose": "SALARY",
"transfer_type": "LOCAL",
"rail": "FEDWIRE"
}'
{
"code": "success",
"message": "success",
"timestamp": 1793145600000,
"success": true,
"data": {
"send_reference_id": "send_example_001",
"transaction_id": "send_example_001",
"status": "PROCESSING",
"source_currency": "USDT",
"source_amount": 100,
"destination_currency": "USD",
"destination_amount": 100
}
}
send_reference_id is required. When quote_id is supplied, source and destination may be omitted; supplied values must remain consistent with the quote. Without quote_id, supply source and destination with their currencies and exactly one amount. rail is required for LOCAL transfers. metadata is text. batch_id is an internal batch link, not a normal input here. Document file IDs must not repeat.
Creation returns numeric source/destination amounts; retrieve/list return decimal strings. A successful submission does not prove final settlement.
Body Parameters
string(100)
required
Merchant send reference
string(32)
Existing quote ID
object
Same source object as quote
Conditional without quote_id
object
Same destination object as quote
Conditional without quote_id
string(32)
required
Beneficiary ID
string(64)
required
Payment purpose
MANUFACTURING, LOGISTICS, SALARY, AUDIT, MARKETING_FEE, COMPANY_OPERATION, HANDLING_FEE, WITHDRAWAL, OTHER.string(32)
SWIFT/LOCAL
Transfer type
string(32)
Required for LOCAL
Local payment rail
SWIFT, FEDWIRE, ACH, SEPA_INSTANT, SEPA, CHATS, FAST, NPP, BECS, FAST_RTP.object
See document structure
string
text, not an arbitrary JSON object
Merchant metadata text
string(256)
Payment reference
Response
The standard response envelope contains an object indata. See Send creation for all item fields. Check success and code even on HTTP 200.
string
Business result code. Use this value for programmatic handling.
string
Result description; do not parse the message to classify failures.
string
Included when tracing context exists.
integer
Response time as Unix epoch milliseconds.
boolean
Whether the operation succeeded; check this even on HTTP 200.
object
Endpoint-specific business data; optional fields depend on state and availability.
Show Response fields
Show Response fields
string(100)
Merchant send reference.
string(64)
Platform transaction ID.
string(32)
Current status. External send status.
string(32)
Source currency. Currency code.
number
Source amount. JSON decimal number; no amount-string conversion for creation.
string(32)
Destination currency. Currency code.
number
Destination amount. Same as above.
object
string(100)
Failure code. When failure data exists.
string(2048)
Failure message. When failure data exists.
curl --request POST \
--url https://api-test.paiera.com/v1/send/create \
--header 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
--header 'Content-Type: application/json' \
--data '{
"send_reference_id": "send_example_001",
"quote_id": "quote_example_001",
"beneficiary_id": "beneficiary_example_001",
"purpose": "SALARY",
"transfer_type": "LOCAL",
"rail": "FEDWIRE"
}'
{
"code": "success",
"message": "success",
"timestamp": 1793145600000,
"success": true,
"data": {
"send_reference_id": "send_example_001",
"transaction_id": "send_example_001",
"status": "PROCESSING",
"source_currency": "USDT",
"source_amount": 100,
"destination_currency": "USD",
"destination_amount": 100
}
}
