Create a barcode for cash deposit or payment

Creates a barcode number or barcode link for a cash deposit or cash payment transaction.

Body Params
int32

Retailer for which the barcode is being generated. The barcode number might be different based on the retailer. GD will provide the list of RetailerKeys to the consumer of the API

int32
enum

1-BarcodeLink, 2-BarcodeForPrint, 3-BarcodeForView, 4-MultiUseBarcode

Allowed:
int32
enum

0-None, 1-Deposit, 2-Payment, 3-Debit

Allowed:
double

Amount for which the barcode is being generated

int32
enum

0-No constraint, barcode can be consumed without constraint on amount. 1-Partial consumption, barcode must be consumed less than or equal to the amount specified in amount parameter(Not currently supported). 2-Full consumption, barcode must be consumed with exact amount specified in amount parameter. By default, amount_match_type is 0.

Allowed:
string

Transaction Reference for the current transaction (eg send money request, etc). This is the reference generated/maintained by Partner. GD will use it for audit purposes.

string

Identifier/Reference which the partner generates for the source (/sender) of this transaction. Eg., If A is trying to send money to B, this is an identifier/ reference of A's account.

string

First Name of the sender

string

Last Name of the sender

string

Email address of the sender

string

phone number of the sender

string

address of the sender

string

Zip code of the sender

string

Identifier/Reference which the partner generates for the target (/receiver) of this transaction. Eg., If A is trying to send money to B, this is an identifier/ reference of B's account.

string

First Name of the target account

string

Last Name of the target account

string

Email address of the recipient

string

phone number of the recipient

string

address of the recipient

string

Zip code of the sender

int32
enum

0 - none, 1 - SMS, 2 - Email

Headers
string
required

Program Number

string
required

Channel Type

string

Longitude

string

Latitude

string
required

Device Type

string

Device ID

string
required

Message ID

string

Session Id

string
required

Encryption Type

string
required

Signature hash

string
required

Client IP Address

string
required

UTC Timestamp

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json