Secure Payments API LoanPaymentPro Process ACH Payment

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

This is the endpoint that will process an eCheck transaction

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: sdfasdf' --header 'secret: asdgasdf' -d '{ \
"transaction": { \
"amount": 1, \
"sec-code": "PPD", \
"funds-direction": "FromCustomer", \
"phone": "8015555555", \
"email": "customer@simanang.com" \
}, \
"checking-account": { \
"token": PAYMENT PROFILE TOKEN \
}, \
"metadata": {} \
}' 'https://pciwallet.simnang.com/api/processors/loanpaymentpro-ach/process/2'

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": 15313,
"raw_http_code": 200,
"processor": "loanpaymentpro-ach",
"metadata": "{}",
"customer_name": "John Q. Customer",
"customer_id": 18816
},
"processor": {
"id": 2,
"user_id": 622,
"name": "sample LPP ACH",
"transaction_key": "Encrypted-Value",
"type": "ach"
}
}


How did we do?


Powered by HelpDocs (opens in a new tab)