
Here you can request a card to your customer
| Field Name | Len | Type | Req | Ver | Comments |
|---|---|---|---|---|---|
| method | N/A | Alp | Yes | 1.2 | requestCard |
| fromEmail | N/A | Alp-Num | Yes | 1.2 | The email associated with the account from which the authorize is made |
| toEmail | N/A | Alp-Num | Yes | 1.2 | Customer's Email |
| type | 1 | Num | Yes | 1.2 | Card Type 2 = Card program |
| currency | 3 | Alp | Yes | 1.2 | Card Currency |
| nameOnCard | N/A | Alp-Num | Yes | 1.2 | Name On Card |
| billingAddress | N/A | Num | Yes | 1.2 | Billing Address ID |
| shippingMethod | 1 | Num | Yes | 1.2 | Card Shipping Method 1 = Standard 2 = Express |
| fromAccount | N/A | Num | Yes | 1.2 | The Account Id from witch the shiping fee is taken |
| cardProgramId | N/A | Num | -- | 1.2 | Card Program ID |
| key | N/A | Alp-Num | Yes | 1.2 | MD5(sharedSecret + type + file + fileType + toEmail + issuingCountry + issuingState + issuingAuthority + issuedDate + expiryDate + series + number + addressId) |
This request is responded by a message with the following content:
| Field Name | Len | Type | Mdt | Ver | Comments |
|---|---|---|---|---|---|
| ResponseCode | N/A | Alp-Num | Yes | 1.2 | The response code; 00 = Success; |
| ResponseDescription | N/A | Alp-Num | Yes | 1.2 | Human readable response |
| Fee | N/A | Real | Yes | 1.2 | Fee for the current transaction |
Request Sample:
https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=requestCard&fromEmail=payee%40domain.com&amount=0.08¤cy=USD&orderNumber=225845&cardNumber=1234567890123456&cardExpiryMonth=07&cardExpiryYear=13&cardVerificationNumber=0&billingFirstName=firstName&billingLastName=LastName&billingMiddleName=middleName&billingIdn=123456798&billingCountry=US&billingState=NY&billingCity=New+York&billingAddress=Str&billingZip=123456&billingPhone=0123456789&billingEmail=payeer%40domain.com&billingCompanyName=companyName&billingCompanyRegistrationNumber=13456798&billingCompanyTaxNumber=132456789&billingCompanyBankName=bankName&billingCompanyBankAccount=13246589764131141&shippingFirstName=sFirstName&shippingLastName=sLastName&shippingMiddleName=sMiddleName&shippingCompanyName=sCompanyName&shippingCountry=sCountry&shippingState=sState&shippingCity=sCity&shippingAddress=sAddress&shippingZip=sZip&shippingPhone=0123456798&key=43003c21814cbf5c8f3bcfabbca6a473
Response Sample
<?xml version="1.0"?>
<Response>
<Environment>PRODUCTION</Environment>
<Method>requestCard</Method>
<ResponseCode>00</ResponseCode>
<ResponseDescription>Approved or Completed Successfully</ResponseDescription >
<Fee>0.00</Fee>
</Response>
Working Sample(s):
requestCard.php