AstroPay
| Payment Method String |
astropaycard |
astropaydirect |
| Available Countries |
CN |
CN |
| Available Currencies |
ARS, BRL, CNY, CLP, COP, PEN, UYU |
ARS, BRL, CNY, CLP, COP, PEN, UYU |
Sample Request
<?xml version='1.0' encoding='UTF-8'?>
<request type='payment-set' timestamp='{{ timestamp }}'>
<merchantid>Merchant ID</merchantid>
<account>internet</account>
<amount currency='BRL'>1001</amount>
<autosettle flag='1' />
<orderid>N6qsk4kYRZihmPrTXWYS6g</orderid>
<paymentmethod>astropaycard</paymentmethod>
<paymentmethoddetails>
<returnurl>https://www.example.com/returnUrl</returnurl>
<statusupdateurl>https://www.example.com/statusUrl</statusupdateurl>
<descriptor>Test Transaction</descriptor>
<country>CN</country>
<accountholdername>James Mason</accountholdername>
</paymentmethoddetails>
<!-- Begin Mandatory Additional Fields -->
<tssinfo>
<varref>248b1c430fb24fa19b1c</varref>
</tssinfo>
<!-- End Mandatory Additional Fields -->
<comments>
<comment id='1'>Mobile Channel</comment>
<comment id='2'>Down Payment</comment>
</comments>
<sha1hash>82f3d22c04292f8673bc1e0fb8ecf0c54e38065c</sha1hash>
</request>
Additional Fields Syntax
Type indicates whether the element is Mandatory (M), Optional (O), or Conditional (C) - dependent on another field.
| Name |
Type |
Format |
Length |
Description |
| Variable Reference |
M |
[a-zA-Z0-9\-\s\.,\+@_]* |
1-50 |
A unique reference for this customer or transaction, for example from your CRM system or OMS. |