Loading...
Important: For authentication, you must include the required HTTPS headers in each request. For more information about the authentication HTTPS headers, see Authenticating Your Requests.
Important: Send the temporary token from Hosted Fields in the temporary_token parameter.
The endpoint will make a call to the ACF Gateway to disburse the loan.
| Environment | HTTP Method | URL |
|---|---|---|
| Partner Integration Test | POST | https://api.pit.paygateway.com/transactions/loansales |
| Production | POST | https://api.paygateway.com/transactions/loansales |
Content-Type: application/json
Authorization: AuthToken {AuthTokenV2}
X-GP-Request-Id: {request_id}
X-GP-Version: 2021-04-08
X-GP-Api-Key: {API Key}
X-GP-Source-App-Version: {Version of integrating application}
X-GP-Source-App-Name: {Name of integrating application}
{
"reference_id": "XAZR863990",
"loan": {
"temporary_token": "fa8859e6-eec1-4289-a20b-de5ffc84c9da"
},
"payment": {
"invoice_number": "239087"
},
"transaction": {
"country_code": "840",
"language": "en-US"
}
}{
"loansale_id": "000008639902",
"reference_id": "XAZR863990",
"status": "approved",
"processor_response": "APPROVAL ADB123",
"payment": {
"amount": "23.09",
"currency_code": "840",
"invoice_number": "239087",
"type": "credit"
},
"transaction": {
"country_code": "840",
"language": "en-US"
},
"links": [
{
"loansale_id": [
{
"href": "https://openedge.apigee.net/cnp-payments/checksales/000000106821",
"relation": "self",
"method": "POST",
"description": "Use this endpoint to retrieve a previous sales transaction using reference id."
}
],
"reference_id": [
{
"href": "https://openedge.apigee.net/cnp-payments/sales/000000106821",
"relation": "self",
"method": "POST",
"description": "Use this endpoint to retrieve a previous sales transaction using reference id."
}
]
}
]
}