All top-ups related paths
/account_groups/{account_group_id}/payments/topups
Returns a list of top-ups.
sort
string
Field of resource to sort by
order
string
Sort order of the result list if the sort
parameter is specified. Use ASC
for ascending or DESC
for descending sort order.
limit
int
Use the limit
argument to specify the maximum number of items returned.
offset
int
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
List of top-ups.
{
"meta": {
"offset": 0,
"limit": 100,
"count": 1,
"total_count": 1,
"sort": "id",
"order": "ASC"
},
"data": [
{
"id": "1ab4fef9-a097-4c6f-9345-647025d5fde6",
"created_at": "2020-08-24T14:15:22Z",
"account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
"cash_amount": "200.00",
"currency": "EUR",
"status": "CONFIRMED"
}
]
}
/payments/topups
Triggers the creation of a top-up payment.
account_group_id
string
required
Account group unique identifier.
cash_amount
string
required
currency
string
required
Alphabetic three-letter ISO 4217 currency code.
{
"account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
"cash_amount": "200.00",
"currency": "EUR"
}
Top-up created.
{
"id": "1ab4fef9-a097-4c6f-9345-647025d5fde6",
"created_at": "2020-08-24T14:15:22Z",
"account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
"cash_amount": "200.00",
"currency": "EUR",
"status": "CONFIRMED",
"settlement_reference": "1ab4fef9-a097-4c6f-9345-647025d5fde6"
}
/payments/topups/{topup_id}
Returns a top-up specified by its ID.
topup_id
string
required
Top up request unique identifier.
OK.
{
"id": "1ab4fef9-a097-4c6f-9345-647025d5fde6",
"created_at": "2020-08-24T14:15:22Z",
"account_group_id": "1ea60f56-b67b-61fc-829a-0242ac130003",
"cash_amount": "200.00",
"currency": "EUR",
"status": "CONFIRMED"
}
/payments/topups/{topup_id}
Cancels a top-up specified by its ID. It is only possible to cancel a top-up if it has the status NEW
or CONFIRMED
.
topup_id
string
required
Top up request unique identifier.
Request has been processed successfully.
Empty response
id
string
required
Event unique identifier
created_at
string
required
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
type
string
required
Event type
object
object
required
id
string
required
Top up request unique identifier.
created_at
string
required
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
account_group_id
string
required
Account group unique identifier.
cash_amount
string
required
currency
string
required
Alphabetic three-letter ISO 4217 currency code.
settlement_reference
string
Settlement reference to be included in the corresponding bank transfer to settle this top up.
status
string
Status of the top up
webhook_id
string
required
Webhook unique identifier.
{
"id": "ac62dbc4-c94e-45e4-a16e-381c51c8de38",
"created_at": "2022-12-05T12:34:56Z",
"type": "TOPUP.SETTLED",
"object": {
"id": "a4496ff8-ce69-4e23-9f2e-6c3c7914b95c",
"account_group_id": "2a761567-251b-450e-8615-025d61dcc95e",
"settlement_reference": "91a44df3-7278-4dee-a1bf-2bc254eca66c",
"cash_amount": "100.01",
"currency": "EUR",
"created_at": "2022-12-05T12:34:56Z",
"status": "SETTLED"
},
"webhook_id": "9df39835-be87-4243-9018-f2500b39cee6"
}
Request has been processed successfully.
Empty response
Was this page helpful?