AstroPay Wallet
This alternative payment method supports the following operations:
Payment
Request
Send a payment request with the following additional data:
| Parameter | Type | Description |
|---|---|---|
| method | object | A section of the payment method information. |
| type * required |
string | astro_pay_wallet |
| customer | object | A section of the customer details. |
| country * required |
string | The customer's billing country in the ISO 3166-1 alpha-2 format. |
Response
The astro_pay_wallet response section will have the parameters copied from the request, as well as the form section with parameters to build a form. You should redirect the customer to the form to finalize the payment.
Payout
Request
Send a payout request with the following additional data:
| Parameter | Type | Description |
|---|---|---|
| method | object | A section of the payment method information. |
| type * required |
string | astro_pay_wallet |
| customer | object | A section of the customer details. |
| country * required |
string | The customer's billing country in the ISO 3166-1 alpha-2 format. |
Response
The astro_pay_wallet response section will have the parameters copied from the request, as well as the form section with parameters to build a form. You should redirect the customer to the form to finalize the payout.