Send payment between accounts
Transfer funds from one account to another. Can be internal transfers or external payments.
POST
/payment/send-payment
curl \
--request POST 'https://pay-api.aiic.nz/v1/payment/send-payment' \
--header "X-Public-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"data":{"sourceAccountId":"acc_123","targetAccountId":"acc_456","amount":5000,"currency":"NZD","reference":"Payment for services","description":"Monthly subscription payment"},"signature":"base64-encoded-signature","publicKey":"base64-encoded-public-key","timestamp":1703123456789,"nonce":"abc123-def456-ghi789"}'
Request examples
{
"data": {
"sourceAccountId": "acc_123",
"targetAccountId": "acc_456",
"amount": 5000,
"currency": "NZD",
"reference": "Payment for services",
"description": "Monthly subscription payment"
},
"signature": "base64-encoded-signature",
"publicKey": "base64-encoded-public-key",
"timestamp": 1703123456789,
"nonce": "abc123-def456-ghi789"
}
Response examples (201)
{
"success": true,
"transactionId": "txn_def456",
"status": "pending",
"amount": 5000,
"currency": "NZD",
"estimatedCompletion": "2025-05-04T09:42:00Z"
}