Top-up example#
POST /card-payment/top-up{
"clientReference": "ORD-20240920-02",
"refUserId": "USR123",
"source": {
"type": "CARD",
"number": "4242424242424242",
"expiryMonth": 1,
"expiryYear": 2099,
"cvv": "123",
},
"amount": 100,
"currency": "EUR",
}
{
"id": "TPO1636055373578272",
"clientReference": "ORD-20240920-02",
"partnerId": "A1B1",
"refUserId": "USR123",
"currency": "EUR",
"amount": 100,
"source": {
"type": "CARD",
"number": "4242424242424242",
"expiryMonth": 1,
"expiryYear": 2099,
"name": null,
"cvv": "123",
"billingAddress": null
},
"createdTime": "2024-09-20T07:19:55.766Z",
"updatedTime": "2024-09-20T07:19:55.766Z",
"status": "AUTHORIZED",
"redirectLink": null
}
Top-up with 3DS#
POST /card-payment/top-up{
"clientReference": "ORD-20240923-03",
"refUserId": "USR123",
"source": {
"type": "CARD",
"number": "4242424242424242",
"expiryMonth": 1,
"expiryYear": 2099,
"cvv": "123",
},
"amount": 100,
"currency": "EUR",
"threeDS": {
"enabled": true
}
}
{
"id": "TPO1636610693136416",
"clientReference": "ORD-20240923-03",
"partnerId": "A1B1",
"refUserId": "USR123",
"currency": "EUR",
"amount": 100,
"source": {
"type": "CARD",
"number": "4242424242424242",
"expiryMonth": 1,
"expiryYear": 2099,
"name": null,
"cvv": "123",
"billingAddress": null
},
"createdTime": "2024-09-23T08:53:12.688Z",
"updatedTime": "2024-09-23T08:53:12.689Z",
"status": "PENDING",
"redirectLink": "https://authentication-devices.sandbox.checkout.com/sessions-interceptor/sid_fel5lhu4umpujlwvymvb2sgesi"
}
navigate to this link and let user complete the 3D authorization.Webhook callback events of Top-up#
eventType: TopUpStatusChange
referenceId: Top-up order id
event values:{
"eventId": "ET134000001",
"eventType": "TopUp",
"event": "TopUpStatusChange",
"referenceId": "TPO1631547553742880",
"description": ""
}
Modified at 2024-09-23 09:08:03