Secure Payments API LoanPaymentPro Process Card Payment

POST /processors/loanpaymentpro-cc/process/{id}

This is the endpoint to process a credit card transaction

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 \
}, \
"card": { \
"token": PAYMENT PROFILE TOKEN \
}, \
"metadata": {} \
}' 'https://pciwallet.simnang.com/api/processors/loanpaymentpro-cc/process/253'

Response:

{
"transaction": {
"amount": 1,
"raw_response": "{\"Status\":\"Success\"\"}",
"operation": "process",
"operation_success": true,
"created": "2018-2-19 19:19:58",
"token": TOKEN,
"status": "submitted",
"id": 15312,
"raw_http_code": 200,
"processor": "loanpaymentpro-cc",
"metadata": "{}",
"customer_name": "John Q. Customer",
"customer_id": 18816
},
"processor": {
"id": 1,
"user_id": 622,
"name": "sample LPP CC",
"transaction_key": "Encrypted-Value",
"type": "credit-card"
}
}


How did we do?


Powered by HelpDocs (opens in a new tab)