X-Payout-Idempotency to the request and pass an idempotency key against it. Currently, idempotency is supported only on the Create Payout API and the Composite APIs.
Request
Curl
Response
Success
Parameters
account_numbermandatory
: string The account from which you want to make the payout. For example, 7878780080316316.
- Pass your customer identifier if you want money to be deducted from RazorpayX Lite.
- Pass your Current Account number if you want money to be deducted from your Current Account.
Parameters
id
: string The unique identifier of the order. For example, pout_00000000000001.
entity
: string The entity being created. Here, it will be payout.
fund_account_id
: string The unique identifier linked to the fund account. For example, fa_00000000000001.
amount
: integer The payout amount, in paise. For example, if you want to transfer ₹10,000, pass 1000000. Minimum value 100. The value passed here does not include fees and tax. Fees and tax, if any, are deducted from your account balance.
currency
: string The payout’s currency. Here, it is INR.
notes
: array of objects Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, "note_key": "Beam me up Scotty”.
fees
: integer The fees for the payout. This value is returned only when the payout moves to the processing state. For example, 5.
tax
: integer The tax applicable for the fee being charged. This value is returned only when the payout moves to the processing state. For example, 1.
status
: string The status of the payout. Possible payout states:
queuedpending(if you have Approval Workflow enabled)rejected(if you have Approval Workflow enabled)processingprocessedcancelledreversedfailed
utr
: string The unique transaction number linked to a payout. For example, HDFCN00000000001.
mode
: string The mode used to make the payout. Available modes:
NEFTRTGSIMPScard
purpose
: string The purpose of the payout that is being created. The following classifications are available in the system by default:
refundcashbackpayoutsalaryutility billvendor bill
reference_id
: string A user-generated reference given to the payout. Maximum length is 40 characters. For example, Acme Transaction ID 12345. You can use this field to store your own transaction ID, if any.
narration
: string This is a custom note that also appears on the bank statement. Maximum length 30 characters. Allowed characters: a-z, A-Z, 0-9 and space.
If no value is passed for this parameter, it defaults to the Merchant Billing Label. Ensure that the most important text forms the first 9 characters as banks may truncate the rest as per their standards.
batch_id
: string This value is returned if the Contact was created as part of a bulk upload. For example, batch_00000000000001.
status_details
: object This parameter returns the current status of the payout. For example, IMPS is not enabled on beneficiary account, Retry with different mode.
description
: string A description for the error. For example, IMPS is not enabled on beneficiary account, please retry with different mode.
source
: string Possible values:
gateway: Technical error at Razorpay Partner bank.beneficiary_bank: Technical error at beneficiary bank.business: Merchant action required.internal: Technical error at Razorpay’s server.
reason
: string The error reason. For example, imps_not_allowed. Payout Status Details and Next Steps.
created_at
: integer Indicates the Unix timestamp when this order was created.
fee_type
: string Indicates the fee type charged for the payout. Possible values is free_payout.
Errors
Idempotency key is missing. Include idempotency header and key in the request.- code: 400
- description: Idempotency key is mandatory.
- solution: Include the X-Payout-Idempotency header and the idempotency key in your request to make a successful payout. Generate a key using the version 4 (random) UUID generator.