AltaPay
To use Upodi with AltaPay tokens, you must create a payment token via the AltaPay frontend integration.
- Read our snippet on how to create tokens here.
- [Read AltaPay's guide how to create tokens here](https://documentation.altapay.com/Content/Ecom/Ecom%20Home.htm.
Upodi Payment
To create a payment method with an AltaPay token, make a POST request to /paymentmethods/{customerId} with a body including the puretoken
object:
{
"gateway" : "altapay",
"makedefault" : "true", /* will make the payment method default */
"source" : "oT34568gYlPgYo9cTmIo192je+KJ7M83zRqABU/ovZaRGZoAUXVel00003ZSkZOiDYGplBlWQLKs+0Fr+C2oeA==+1", /* AltaPay token */
}
Updated about 2 months ago