Create transfer
Endpoints
Create Transfer
Process transfer requests to move funds between accounts
POST
Create transfer
This endpoint handles both internal transfers (from your own payment app) and external transfers (from 3rd party partners with reserve accounts).
Use Cases
- Internal transfers - Your own payment app requests payment for an order
- Partner transfers - 3rd party gateways with accounts at your gateway request transfers
Implementation
Internal vs External Transfers
Internal transfers (from your own app):- The
from.referencemay contain an internal user ID - You authenticate the user through your app session
- Match the caller to your internal user system
- The caller’s OCID identifies a partner with a reserve account
- Debit their reserve balance
- The
from.ocidis the partner’s OCID
Order Information
If the transfer is for an order, the request includes:Headers
Caller's OCID (Opencharge ID)
Unix timestamp in seconds
Unique request identifier for replay protection
secp256k1 ECDSA signature of the canonical request
Body
application/json