Create Payment Instruction
POST
https://bank.dattaremit.com/api/payment_instructionsRequires a bank-scoped key.
Creates a payment instruction.
## State
| State | Description |
|---|---|
| storing | The Platform is storing the payment instruction details in our private store |
| created | The Platform has created the payment instruction |
| expired | The PaymentInstruction is no longer valid |
Required scope: invoices:write
Body Params
requiredinvoice_guidstringrequiredThe invoice guid.
expected_behaviourinvoice_paid_immediatelyThe optional expected behaviour to simulate.
Responses
201Payment Instruction created
400Bad Request
401Unauthorized - Authentication failed
403Invalid scope
409Conflict
422Unprocessable Content
Request
curl https://api.dattaremit.com/api/payment_instructions \
-X POST \
-H "Authorization: Bearer sk_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"invoice_guid": "string",
"expected_behaviour": "invoice_paid_immediately"
}'Response
Payment Instruction created
{
"guid": "string",
"customer_guid": "string",
"invoice_guid": "string",
"created_at": "2026-07-20T16:27:51.438Z",
"updated_at": "2026-07-20T16:27:51.438Z",
"expired_at": "2026-07-20T16:27:51.438Z",
"failed_at": "2026-07-20T16:27:51.438Z",
"network_address": "string",
"expected_payment_asset": "string",
"expected_payment_amount": 1,
"failure_code": "string",
"state": "string"
}