Instant Transfer Notification (ITN)
Endpoints
Transfer Webhook
Receive signed transfer proofs when payments to your merchant are completed
POST
Instant Transfer Notification (ITN)
This is the primary way you learn that a payment has been completed. When a transfer involving your OCID finishes, the payment gateway POSTs a signed proof to this endpoint.
Flow
- Customer pays via a payment gateway
- Gateway completes the transfer to your OCID
- Gateway POSTs signed proof to your
/transfer/webhook - You verify the proof and mark the order as paid
Verifying the Proof
Always verify the proof before trusting it:Proof Fields
| Field | Description |
|---|---|
proof.txid | Unique transaction ID from the issuer |
proof.issuer | OCID of the service that executed the transfer |
proof.from.ocid | Sender’s OCID |
proof.to.ocid | Your merchant OCID |
proof.to.reference | Your order ID (if provided during payment) |
proof.amount | Transfer amount |
proof.currency | Currency code |
proof.timestamp | When the transfer completed |
Respond to the webhook call
Returnaccepted if you processed the notification:
rejected with a reason if there’s an issue:
Headers
Sender's OCID (Opencharge ID)
Unix timestamp in seconds
Unique request identifier for replay protection
secp256k1 ECDSA signature of the canonical request
Body
application/json