Direct credit to account
Credit funds directly to a specified account. This is typically used for deposits, refunds, or system credits.
POST
/payment/direct-credit
curl \
--request POST 'https://pay-api.aiic.nz/v1/payment/direct-credit' \
--header "X-Public-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"data":{"targetAccountId":"acc_123","amount":1000,"currency":"NZD","reference":"Deposit from POLi","description":"Direct credit to account"},"signature":"base64-encoded-signature","publicKey":"base64-encoded-public-key","timestamp":1703123456789,"nonce":"abc123-def456-ghi789"}'
Request examples
{
"data": {
"targetAccountId": "acc_123",
"amount": 1000,
"currency": "NZD",
"reference": "Deposit from POLi",
"description": "Direct credit to account"
},
"signature": "base64-encoded-signature",
"publicKey": "base64-encoded-public-key",
"timestamp": 1703123456789,
"nonce": "abc123-def456-ghi789"
}
Response examples (201)
{
"success": true,
"transactionId": "txn_abc123",
"status": "completed",
"amount": 1000,
"currency": "NZD",
"timestamp": "2025-05-04T09:42:00Z"
}