The POST AuthPayment
API endpoint is described here: alpha.pwstaging.com.au/docs/api-integration-guide#transaction-types:
AuthPayment
: Authorize a card or validate direct debit/ACH.
{
"Banks": null,
"Country": null,
"DocumentResults": null,
"EmailChecks": null,
"FraudChecks": null,
"GeoChecks": null,
"MethodResult": {
"custom1": null,
"custom2": null,
"custom3": null,
"custom4": null,
"custom5": null,
"Status": "3"
},
"PaymentInfo": {
"BIN": "444433",
"CardExpiryMonth": "07",
"CardExpiryYear": "2020",
"CardHolder": "John Smith",
"Last4": "1111",
"PaymentBrand": "VISA",
"PaymentBrandType": "CREDIT",
"PaymentIssuerCountry": "US"
},
"ProviderResps": {
"ProviderResp": [
{
"ProviderName": "AlphaSecure",
"ProviderOrder": "1",
"ResponseCode": "1047"
},
{
"ProviderName": "westpac",
"ProviderOrder": "2",
"ProviderResponse": "QA",
"ResponseCode": "1076",
"ProviderResponseMessage": "Invalid Parameters - order.xid: Maximum length is 20"
}
]
},
"Result": {
"Amount": "1000",
"Currency": "AUD",
"custom1": null,
"custom2": null,
"custom3": null,
"custom4": null,
"custom5": null,
"MerchantID": "AUP006DM006",
"MerchantTimestamp": "2017-10-26T20:59:16.576 AEDT",
"MerchantTxnID": "AuthPayment-1509011881",
"PaymentID": "107024551",
"ResponseCode": "1076",
"ResponseMessage": "Provider unable to process request",
"ResponseTimestamp": "26102017095916"
},
"TaxResultLines": null,
}