Payment Codes

Payments will always have a certain Status denoted by a Status Code and, where applicable, will contain Error Codes to provide more info.

Payment Status and Error Codes are of type int.

The following tables summarise the expected responses, as well as user-friendly messages returned for Payments.

Status Codes

Code
Message
Comment

0

Payment is in progress

Still pending payment from the user.

1

Payment completed successfully

Payment was successfully collected and transferred from the User to the Merchant’s Account.

2

Payment cancelled

3

Payment was cancelled by user

The User specifically requested a cancellation for the user when presented with the Payment

4

Payment has been refunded

A refund event occurred for the payment. This typically can only be initiated by 6DOT50 to reverse a transaction upon request by the Merchant.

10

Payment failed

Error Codes

Some Status Codes result in a negative result (e.g. Cancelled, Payment Failed): reasons for the result are provided in the ErrorCode field:

Code
Message

0

No error

1

Insufficient funds in account

2

Payment has been declined due to authentication failure

3

Payment has been declined

4

Payment marked as a duplicate transaction

5

Payment has been marked as suspected fraud

6

Payment has an Invalid Amount specified

7

Timeout occurred trying to process payment

Last updated