Instant Top-Ups
Create a Top-Up
Creates a Top-Up for the person's account specified in the request URL. Calling this endpoint will begin the payment process with Solaris and its acquiring partner (e.g., Stripe).<br> Note that you must provide the returned client_secret to the Acquirer's SDK (e.g., the Stripe PaymentIntent).
post/v1/persons/{person_id}/accounts/{account_id}/topups
Path parameters
person_idstring required
account_idstring required
Request body
Example request
{
"amount": {
"value": 10000
}
}Response
The Top-Up was successfully created.
Example response
{
"id": "b76cdcc321d345618084feedc47bbb1d",
"amount": {
"value": 10000
},
"client_secret": "pi_1DrPlP2eZvKYlo2CSBQ7uqFH_secret_o1A7UsYFLWeGISUD1QYNkT8IU",
"instruction_id": "3eba1ee2d8bc4d5883d350031a5fe9d8"
}