Create Payout
API is used to create a payout request with JusBiz for virtual token creation against a primary card of the corporate.
Please go through the Integration section above before starting the integration at your end and reach out to your JusBiz POC for any queries.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:- Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
Pass merchant-id provided by Juspay
Key Id against which encryption is done (to be taken from JusBiz Dashboard)
Example:- application/json
A unique value against the token has to be created/updated. This value will also be used to fetch the token
Max length = 21
payoutId can contain alphanumeric values. It must not include special characters except _
[orderAmount + GST] is the max amount which can be redeemed from the card.
For updation: We will update the amount to new value.
Max Length = 10 digits and Decimal Upto 2 digits
The GST amount.
payoutAmount(totalAmount) = orderAmount + gst.
Max Length = 10 digits and decimal Upto 2 digits. Payout amount should be less than equal 10 digits
This is for determining the operation.
Sample value: create | update
The date when the token becomes active for processing payments. If not sent, juspay will consider the currentDate as startDate for creation.
For updation: We will update the startDate to the new value
Format: YYYY-MM-DD (In UTC)
The date till when the token remains active for processing payments.
For updation: We will update the endDate to the new value.
Format: YYYY-MM-DD (In UTC)
All VISA network supported currencies.
Supported currencies are mentioned under Resources.
The Type of the payout. Possible values: XB
A unique alias to identify the primary/master card - juspay creates this alias during the primary card addition and is available on the dashboard for view as well as edit.
Max Length = 21 characters
Any Rules to be set on Virtual Card
Add a list from attached values in VISA Rules tab under Resources to block payments for a particular category.
If not passed, the payments will be allowed for all use-cases.
Default value: Null
Transaction amount range for the authorization.
If not passed, no restrictions will be applied
Min amount that can be redeemed for a transaction
If not passed, no restrictions will be applied.
Decimal Upto 2 digits. Minimum amount will be >0
Max amount that can be redeemed for a transaction
If not passed, no restrictions will be applied.
Decimal Upto 2 digits. Max amount <= total payout amount
List of exact amount that can be redeemed. If user tries to redeem any amount not a part of this list, it will lead to failure of txn.
Note: The number of amounts passed in this list should match with the maxAuth Provided. Currently maxAuth is by default 1.
If not passed, no restrictions will be applied.
Decimal Upto 2 digits is allowed.
Ranges of MCC that are required to be blocked.
Should be passed if particular MCC ranged has to be blocked.
Upto 15 ranges are accepted.
Note: should not be passed if mccAllow is passed.
Min Range of the MCC that should be blocked.
MCC list is shared in Resources tab under VISA Rules
Max Range of the MCC that should be blocked.
MCC list is shared in Resources tab under VISA Rules
Range of MCC that should be allowed for payments.
Upto 15 ranges are accepted
Note: should not be passed if mccBlock is passed
Min Range of the MCC that should be allowed.
MCC list is shared in Resources tab under VISA Rules.
Max Range of the MCC that should be allowed.
MCC list is shared in Resources tab under VISA Rules
To get card image pass value as True.
CategoryId is to be passed to Tag a card with the expense. Expenses need to be created on the JusBiz dashboard where expenseCategoryId can be obtained. This will help you to capture enhanced data on reports.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Status of the API call
Possible value: SUCCESS | FAILURE
Example:- SUCCESS
Unique value of payout id which was sent in the request.
Example:- Juspay123456789
response body parameters
Contains the expiry month of the token.
Current status of the virtual token
Possible Values: ISSUED | REDEEMED | PARTIALLY_REDEEMED | EXPIRED | DELETED
Total Amount = This is sum of orderAmount + gst
Contains the token number. Will not be available for expired and deleted tokens
Currency of the VCC
Total Redeemed Amount from the VCC
UDF details for particular payout
Optional Field - Any unique ID which is required for searching on the Frontend Dashboard to be sent in this.
Contains the expiry month of the token.
Base 64 encoded string will be sent
Issuing Network of the parent card
Issuing Bank of the parent card
Reason for failure / success
Key helps to identify if request is FAILURE or SUCCESS
Example:- FAILURE
Reason why the failure occurred
Example:- Invalid Expense Id Passed
unique ID provided during card creation
Example:- Juspay123456789
Invalid credentials provided.
Example:- Unauthorized: Basic auth missing in headers
Database Error. Validated Expense Data cannot be Empty

