Secure Payments API TabaPay Process Payment

General

This article covers processing payments using a TabaPay processor through the Secure Payments (formerly PCI Wallet) API. For information on creating a TabaPay processor, look here.

POST /processors/tabapay/process/{id}

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"transaction": { \
"amount": 1.00, \
"funds-direction": "FromCustomer" \
}, \
"card": { \
"token": CUSTOMER CHECKING TOKEN \
}, \
"metadata": {} \
}' 'https://pciwallet.simnang.com/api/processors/tabapay/process/1'

Response:

{
"transaction": {
"amount": 1,
"raw_response": "{\"SC\":200}",
"operation": "process",
"operation_success": true,
"created": "2018-2-19 19:00:32",
"token": TOKEN,
"status": "submitted",
"id": 15311,
"sec_code": "",
"raw_http_code": 200,
"processor": "sample_tabapay",
"metadata": "{}",
"customer_name": "John Q. Customer",
"customer_id": 18816
},
"processor": {
"id": 13,
"name": "sample_tabapay",
"client_id": "Encrypted value",
"bearer_token": "Encrypted value",
"settlement_account": "Encrypted value"
}
}


How did we do?


Powered by HelpDocs (opens in a new tab)