Preauthorization
The Preauthorization API verifies credit cards.
#
Endpointv1/Matbia/Preauthorization
#
Http Request MethodPOST
#
Request HeaderSee Authorization
#
Request Bodynote
* Indicates required field.
Name | Type | Description |
---|---|---|
cardNum* | string | Credit Card Number |
exp* | string | Credit Card Expiration |
#
Responseerror | "" - See list of possible errors. |
status | "Success" |
#
ExamplecURL:
curl -X POST ^ "https://sandbox.api.matbia.org/v1/Matbia/Preauthorization" ^ -H "accept: application/json" ^ -H "Authorization: DA8874A1-9393-4D59-8A79-5E436F2538A0" ^ -H "Content-Type: application/json-patch+json" ^ -d "{\"cardNum\": \"8628249448173425\", \"exp\": \"1228\"}"
Payload:
{ "cardNum": "8628249448173425", "exp": "1228" }
Response:
{ "error": "", "status": "Success", "referenceId": null, "cardHolderName": null }