6DOT50 APIs
  • Redemptions API
    • Overview
    • Process Flow
    • Requests
    • Response Models
    • Payment Codes
    • Authentication
      • POST /authentication/getToken
  • Accounts
    • GET /accounts
    • GET /accounts/{id}/transactions
  • Initiate Payment
    • POST /payments
  • User Payment Pages
    • Authentication
    • Payment Confirmation
    • Payment Status
  • Payment Status
    • GET /payments/{id}
  • List Payments
    • GET /payments
  • Support
  • PAY API
    • Overview
    • API Keys
    • Endpoints
    • Process Flow
    • Requests
    • Response Models
    • Authentication
      • POST /authentication/getToken
    • Accounts
      • GET /accounts
    • Batches
      • POST /batches
      • GET /batches
      • GET /batches/{id}
      • PUT /batches/{id}
      • GET /batches/statusCodes
      • POST /batches/{id}/payments
      • GET /batches/{id}/payments
      • POST /batches/{id}/submit
      • POST /batches/{id}/cancel
    • Members
      • GET /members/{msisdn}/exists
    • Payments
      • GET /payments/{id}
      • DELETE /payments/{id}
      • GET /payments/statusCodes
  • Support
Powered by GitBook
On this page
  • Status Codes
  • Error Codes
  1. Redemptions API

Payment Codes

PreviousResponse ModelsNextAuthentication

Last updated 2 years ago

Payments will always have a certain Status denoted by a and, where applicable, will contain 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

Payment was cancelled by the system. See for reason.

Payment failed. See for reason.

Status Code
Error Codes
Error Codes
Error Codes