{
"id": "<string>",
"type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"collection_id": "<string>",
"pin": "<string>",
"amount_cents": 123,
"currency": "ZAR",
"is_reusable": true,
"min_amount_cents": 123,
"max_amount_cents": 123,
"label": "<string>",
"total_collected_cents": 123,
"payment_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"paid_at": "2023-11-07T05:31:56Z",
"partner_ref": "<string>",
"rate_lock": {
"pair": "USD/ZAR",
"rate": "<string>",
"locked_until": "2023-11-07T05:31:56Z",
"expected_usd_cents_gross": 123,
"expected_usd_cents_net": 123,
"fee_lines": [
{
"code": "<string>",
"description": "<string>",
"fee_type": "<string>",
"percent": 123,
"flat_fee_zar_cents": 123,
"amount_zar_cents": 123,
"amount_usd_cents": 123
}
]
}
}
}Webhooks
Pin created
Event pin.created. A PIN was created. data is the PIN.
WEBHOOK
pin.created
{
"id": "<string>",
"type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"collection_id": "<string>",
"pin": "<string>",
"amount_cents": 123,
"currency": "ZAR",
"is_reusable": true,
"min_amount_cents": 123,
"max_amount_cents": 123,
"label": "<string>",
"total_collected_cents": 123,
"payment_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"paid_at": "2023-11-07T05:31:56Z",
"partner_ref": "<string>",
"rate_lock": {
"pair": "USD/ZAR",
"rate": "<string>",
"locked_until": "2023-11-07T05:31:56Z",
"expected_usd_cents_gross": 123,
"expected_usd_cents_net": 123,
"fee_lines": [
{
"code": "<string>",
"description": "<string>",
"fee_type": "<string>",
"percent": 123,
"flat_fee_zar_cents": 123,
"amount_zar_cents": 123,
"amount_usd_cents": 123
}
]
}
}
}Authorizations
Body
application/json
Response
200
Acknowledge with any 2xx.