cURL
curl --request POST \ --url https://api.fiet.finance/v1/payments \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "clientReference": "erp-payment-001", "corridorId": "usdc-eth->aud-bank", "amountIn": "1000000", "recipient": { "type": "bank", "name": "Acme Pty Ltd", "country": "AU", "account": { "bsb": "062000", "accountNumber": "12345678" } }, "options": { "mode": "STANDARD" } } '
{ "planId": "<string>", "steps": [ { "stepId": "<string>", "type": "AWAIT_DEPOSIT", "status": "PENDING", "instructions": [ { "kind": "EVM_CALL", "chainId": 123, "to": "<string>", "data": "<string>", "value": "<string>", "constraints": { "notAfter": "2023-11-07T05:31:56Z", "maxSlippageBps": 2500 } } ], "custodianAction": {} } ] }
Basic Auth (assumed at gateway for MVP)
128
"erp-payment-001"
"usdc-eth->aud-bank"
Input amount (smallest units) as string
"1000000"
Recipient details (bank recipient, or digital collect recipient, etc.)
Show child attributes
Payment plan
"plan_123"