PIX
PIX is a real-time payment system created by Brazil’s Central Bank. Merchants can integrate PIX with Juspay by displaying QR codes for customers to scan and complete payments instantly. By default, PIX payments are valid for 30 minutes, although this may vary depending on the payment gateway, with the shortest duration being used.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
Merchant ID provided by Juspay
Example:-
merchant-id
Pass the date in YYYY-MM-DD format
Example:-
2023-01-01
application/x-www-form-urlencoded
Unique Identifier for the order. Should be Alphanumeric with character length less than 21.
Example:-
order-id-9876580
Amount that the customer has to pay. Will accept stringified double or integer values with upto two decimal places. For example, "100.15" and "100" are valid input but "100.1532" is not valid.
Example:-
1.00
Client side authenticaion token required for Hyper SDK calls
Example:- Value : true
It is the ID with which merchant refers to a customer object. This id is used to access the stored payment methods, allow EMI transactions and setup subscriptions.
In case of guest login it should be an empty string.
Example:-
customer-id-007
Email address of the customer. If the backend gateway requires it, then you must send this value.
Example:-
test@gmail.com
Mobile number or fixed line number of the customer. If the backend gateway requires it, then you must send this value.
Example:-
99999999
ISO string of the currency. Use BRL for Brazilian Real. Among other accepted values are EUR, USD, GBP, SGD, IDR etc. Default value: INR
Short description for the order. We send this information to the backend gateways whenever there is a provision for this.
A fully qualified URL which the customer will be redirected after payment completion. It is also required to provide the control back to SDK after the completion of transaction. This URL shouldn't contain any query parameters or Ip address. This URL takes higher precedence over the common return URL configured in your account settings.
Example:-
https://shop.merchant.com
An identifier for the product. Fits well for impulse purchase usecases.
Example:-
John
Specify your preferred gateway for this order.
Example:-
Wick
This will be RTP for PIX payments
The value for this field will be PIX_QR for PIX payments
This field should be used to pass cpf or cnpj values in the json format.
Brazilian identity number without punctuation
Brazilian identity number for companies without punctuation
Nickname that identifies a user's transactional account in Brazil
This value should be passed if you are not doing SDK integration.
Bad Request
Details of keys missing
Example:-
Mandatory fields are missing
Further Details of keys missing
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

