Create a purchase with fraud screening
Changed onpost/purchases
Request
- Base URLhttps://gateway.pmnts-sandbox.io/v1.0
- URLhttps://gateway.pmnts-sandbox.io/v1.0/purchases
- AuthHTTP basic
Headers
Content-Typestring
application/json
Request body
Response
200
Example response
{
"successful": true,
"response": {
"authorization": "0",
"id": "071-P-RHN5DC15",
"card_number": "512345XXXXXX2346",
"card_holder": "Jim Smith",
"card_expiry": "2023-05-31",
"card_token": "pfjeiyx4fk0uko3ev4kd",
"card_type": "MasterCard",
"card_category": "Credit",
"card_subcategory": "Standard",
"amount": 1000,
"decimal_amount": 10,
"message": "Declined.",
"reference": "Ud5CfaAlwTKJi2kfsAesdAwvIk2fpJjP",
"currency": "USD",
"transaction_id": "071-P-RHN5DC15",
"transaction_date": "2018-10-09T14:01:06+11:00",
"response_code": "01",
"rrn": "0",
"cvv_match": "U",
"fraud_result": "Deny",
"fraud_messages": [
"An attribute associated with an Order matched a pre-configured 'Always Deny' rule."
]
},
"test": true
}Changes
- info
endpoint added
- info