The connection is secured by encrypted SSL as well as by each program partner by providing a secret key that will be returned to them with each notification.
(Optional) Custom header is supported if the partner gateway requires it.
Depending on your partner account configuration, you will receive a Pending to accept or deny a payment, or only Completed/Reversed payment notifications.
HTTP POST [Partner provided URL]
The datetime when the payment is made (in UTC)
A unique reference to the deposit record. This should be stored to aid in reconciliation
(Optional) A unique reference to the QR Code. This should be stored to aid in reconciliation.
The Partner's Client Ref value that was stored in the QR Code. This is typically the customer's account number.
Customer's payment amount in dollars and cents WITHOUT the fee. For example: 120.50
Transaction fee that the customer paid in dollars and cents. For example: 1.50
P=Pending, C=Completed, R=Reversed
A secret key that Payment Source provides to the partner. Use this to confirm the message was from Payment Source.
Unique ID for the store location.
Method of payment used reported from CPC.
Comma-delimited list with possible values: Cash, Credit, Debit, USCash, ClerkCheck, Cheque
Authorization:<secret_provided_by_partner>
<custom_header>:<value_provided_by_partner>
TransTime=2016-04-15 12:51:40
TransNo=0070000249999
LHRef=473827
ClientRef=000CTD
PaidAmt=120.50
FeeAmt=1.50
Status=P
Password=GD23123hw567
LocationId=123
PaymentMethod=Cash
Note: There is a timeout threshold of 15 seconds.
*Do not confuse this 'code' with HTTP Status code. HTTP Status code should always be 200 OK.
Return { 'code':'code', 'message':'message'} to accept or deny the payment. See Codes below.
Return { 'code':'200', 'message':'Acknowledged'} to acknowledge the successful payment.
Return { 'code':'200', 'message':'Reversed'} to show acceptance of the reversal.
Code
Reason
Result
200
Accept - Partner accepts the payment.
Customer's payment will be taken and processed by Payment Source.
7150
Account not valid - Partner declined the payment due to an issue with the customer's account.
Payment Source will decline the customer's payment.
7160
Token expired - Partner declined the payment due to an expiration flag.
Payment Source will decline the customer's payment.
7215
Account limit - Partner declined the payment due to the customer hitting an account limit.
Payment Source will decline the customer's payment.
7240
Invalid amount - Partner declined the payment due to an unacceptable amount.
Payment Source will decline the customer's payment.
7915
General decline - Partner denies the payment.
Payment Source will decline the customer's payment.