{
"message": "something is not found",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "somethind_not_found",
"type": "invalid_request_error"
}
{
"message": "order with same id is already present",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "order_already_exists",
"type": "invalid_request_error"
}
{
"message": "something is not found",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "request_invalid",
"type": "idempotency_error"
}
{
"message": "Too many requests from IP. Check headers",
"code": "request_failed",
"type": "rate_limit_error"
}
{
"message": "internal Server Error",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "internal_error",
"type": "api_error"
}
Orders
Create Order
Order
An order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for.
Use this API to create orders with Cashfree from your backend to get a payment_sessions_id.
You can use the payment_sessions_id to create a transaction for the order.
{
"message": "something is not found",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "somethind_not_found",
"type": "invalid_request_error"
}
{
"message": "order with same id is already present",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "order_already_exists",
"type": "invalid_request_error"
}
{
"message": "something is not found",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "request_invalid",
"type": "idempotency_error"
}
{
"message": "Too many requests from IP. Check headers",
"code": "request_failed",
"type": "rate_limit_error"
}
{
"message": "internal Server Error",
"help": "Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9",
"code": "internal_error",
"type": "api_error"
}
Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to Cashfree.
x-idempotency-key
string<UUID>
An idempotency key is a unique identifier you include with your API call.
If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
Body
application/json
Request body to create an order at cashfree
Request body to create an order at cashfree
order_amount
number<double>
required
Bill amount for the order. Provide upto two decimals. 10.15 means Rs 10 and 15 paisa. For orders in non-INR currency, please refer to supported amounts per currency.
Required range: x >= 1
Example:
10.15
order_currency
string
required
Currency for the order. INR if left empty. For support currency list, refer here. Contact care@cashfree.com to enable new currencies.
Example:
"INR"
customer_details
CustomerDetails · object
required
The customer details that are necessary. Note that you can pass dummy details if your use case does not require the customer details.
Time after which the order expires. Customers will not be able to make the payment beyond the time specified here. We store timestamps in IST, but you can provide them in a valid ISO 8601 time format. Example 2021-07-02T10:20:12+05:30 for IST, 2021-07-02T10:20:12Z for UTC
Example:
"2021-07-02T10:20:12+05:30"
order_note
string
Order note for reference.
Required string length: 3 - 200
Example:
"Test order"
order_tags
object
Custom Tags in thr form of {"key":"value"} which can be passed for an order. A maximum of 10 tags can be added
If you have Easy split enabled in your Cashfree account then you can use this option to split the order amount.
Show child attributes
Example:
[{ "amount": 10, "vendor": "john" }]
products
products · object
Use this to set configurations for the products like One Click Checkout, Verify and Pay, if they are enabled for your account
Show child attributes
Response
OK
The complete order entity
cf_order_id
string
unique id generated by cashfree for your order
order_id
string
order_id sent during the api request
entity
string
Type of the entity.
order_currency
string
Currency of the order. Example INR
order_amount
number
order_status
string
Possible values are
ACTIVE: Order does not have a sucessful transaction yet
PAID: Order is PAID with one successful transaction
EXPIRED: Order was not PAID and not it has expired. No transaction can be initiated for an EXPIRED order.
TERMINATED: Order terminated
TERMINATION_REQUESTED: Order termination requested
payment_session_id
string
order_expiry_time
string
order_note
string
Additional note for order
created_at
string
When the order was created at cashfree's server
Example:
"2022-08-16T14:45:38+05:30"
order_splits
VendorSplit · object[]
Show child attributes
customer_details
CustomerDetailsResponse · object
The customer details that are necessary. Note that you can pass dummy details if your use case does not require the customer details.
Configurations for the products like One Click Checkout, Verify and Pay, if they are enabled for your account
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Telr Developer Documentation","colors":{"primary":"#006E4F","light":"#00A887","dark":"#244C2F"},"logo":{"light":"https://mintcdn.com/telr/0gWXSd3fXAm_cMMR/static/logo/Telr_Logo.png?fit=max\u0026auto=format\u0026n=0gWXSd3fXAm_cMMR\u0026q=85\u0026s=1eab94fcaa68dc82f3f3201b2a47e789","dark":"https://mintcdn.com/telr/0gWXSd3fXAm_cMMR/static/logo/Telr_Logo.png?fit=max\u0026auto=format\u0026n=0gWXSd3fXAm_cMMR\u0026q=85\u0026s=1eab94fcaa68dc82f3f3201b2a47e789"},"favicon":"/static/telr_favicon-32x32.png","appearance":{"default":"light","strict":false},"background":{"color":{"light":"#fbfbfb","dark":"#000000"}},"navbar":{},"footer":{},"search":{"prompt":"Search or ask..."},"seo":{"metatags":{"og:title":"Telr Developer Documentation","og:description":"Welcome to the Telr developer documentation. You will find help about Telr products and APIs that will help you start using our products quickly.","og:site_name":"Telr Developer Documentation"},"indexing":"all"},"integrations":{},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"telr","hasAudioNarration":false,"actualSubdomain":"telr","customDomains":["telr-docs.cashfree.com"],"gitSource":{"type":"github","owner":"cashfree-telr","repo":"docs","deployBranch":"telr","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9288385770375310653a8:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Payment Gateway","count":46},{"language":"default","tag":"Payments APIs","count":44},{"language":"default","tag":"Payments","count":44},{"language":"default","tag":"v2025-01-01","count":38},{"language":"default","tag":"Help Center","count":12},{"language":"default","tag":"No Code","count":12},{"language":"default","tag":"Manage","count":7},{"language":"default","tag":"Customise experience","count":7},{"language":"default","tag":"Custom Web Checkout","count":7},{"language":"default","tag":"Payments API","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"grid.css","content":".container,.container-fluid{margin-right:auto;margin-left:auto;padding-top:3rem;padding-bottom:3rem}.container-fluid{padding-right:2rem;padding-left:2rem}.row{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-0.5rem;margin-left:-0.5rem}.row.reverse{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.col.reverse{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.col-xs,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-offset-0,.col-xs-offset-1,.col-xs-offset-10,.col-xs-offset-11,.col-xs-offset-12,.col-xs-offset-2,.col-xs-offset-3,.col-xs-offset-4,.col-xs-offset-5,.col-xs-offset-6,.col-xs-offset-7,.col-xs-offset-8,.col-xs-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:0.5rem;padding-left:0.5rem}.col-xs{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-xs-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-xs-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-xs-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-xs-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-xs-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-xs-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-xs-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-xs-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-xs-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-xs-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-xs-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-xs-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}.start-xs{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-xs{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-xs{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-xs{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-xs{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-xs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-xs{-ms-flex-pack:distribute;justify-content:space-around}.between-xs{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-xs{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-xs{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}@media only screen and (min-width: 48em){.container{width:49rem}.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-offset-0,.col-sm-offset-1,.col-sm-offset-10,.col-sm-offset-11,.col-sm-offset-12,.col-sm-offset-2,.col-sm-offset-3,.col-sm-offset-4,.col-sm-offset-5,.col-sm-offset-6,.col-sm-offset-7,.col-sm-offset-8,.col-sm-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:0.5rem;padding-left:0.5rem}.col-sm{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-sm-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-sm-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-sm-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-sm-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-sm-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-sm-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-sm-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-sm-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-sm-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-sm-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-sm-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-sm-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}.start-sm{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-sm{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-sm{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-sm{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-sm{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-sm{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-sm{-ms-flex-pack:distribute;justify-content:space-around}.between-sm{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-sm{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-sm{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}}@media only screen and (min-width: 64em){.container{width:65rem}.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-offset-0,.col-md-offset-1,.col-md-offset-10,.col-md-offset-11,.col-md-offset-12,.col-md-offset-2,.col-md-offset-3,.col-md-offset-4,.col-md-offset-5,.col-md-offset-6,.col-md-offset-7,.col-md-offset-8,.col-md-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:0.5rem;padding-left:0.5rem}.col-md{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-md-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-md-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-md-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-md-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-md-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-md-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-md-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-md-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-md-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-md-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-md-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-md-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}.start-md{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-md{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-md{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-md{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-md{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-md{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-md{-ms-flex-pack:distribute;justify-content:space-around}.between-md{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-md{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-md{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}}@media only screen and (min-width: 75em){.container{width:76rem}.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-offset-0,.col-lg-offset-1,.col-lg-offset-10,.col-lg-offset-11,.col-lg-offset-12,.col-lg-offset-2,.col-lg-offset-3,.col-lg-offset-4,.col-lg-offset-5,.col-lg-offset-6,.col-lg-offset-7,.col-lg-offset-8,.col-lg-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:0.5rem;padding-left:0.5rem}.col-lg{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-lg-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-lg-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-lg-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-lg-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-lg-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-lg-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-lg-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-lg-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-lg-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-lg-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-lg-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-lg-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}.start-lg{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-lg{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-lg{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-lg{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-lg{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-lg{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-lg{-ms-flex-pack:distribute;justify-content:space-around}.between-lg{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-lg{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-lg{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}}"},{"filePath":"style.css","content":"/* arabic */\n@font-face {\n font-family: 'Rubik';\n font-style: italic;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWEBXyIfDnIV7nEnXu61F3f.woff2) format('woff2');\n unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Rubik';\n font-style: italic;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWEBXyIfDnIV7nEnXO61F3f.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Rubik';\n font-style: italic;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWEBXyIfDnIV7nEnXq61F3f.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* hebrew */\n@font-face {\n font-family: 'Rubik';\n font-style: italic;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWEBXyIfDnIV7nEnXy61F3f.woff2) format('woff2');\n unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Rubik';\n font-style: italic;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWEBXyIfDnIV7nEnXC61F3f.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Rubik';\n font-style: italic;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWEBXyIfDnIV7nEnX661A.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* arabic */\n@font-face {\n font-family: 'Rubik';\n font-style: normal;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWKBXyIfDnIV7nErXyi0A.woff2) format('woff2');\n unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Rubik';\n font-style: normal;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Rubik';\n font-style: normal;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* hebrew */\n@font-face {\n font-family: 'Rubik';\n font-style: normal;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWKBXyIfDnIV7nDrXyi0A.woff2) format('woff2');\n unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Rubik';\n font-style: normal;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Rubik';\n font-style: normal;\n font-weight: 300 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/rubik/v31/iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face{font-family:\"Termina Demi\";src:url(https://cashfree.pages.dev/fonts/Termina-Demi.woff2) format(\"woff2\"),\n\t\turl(https://cashfree.pages.dev/fonts/Termina-Demi.woff) format(\"woff\");font-style:normal;font-display:swap}body,html{margin:0;padding:0}#navbar{width:100%}span.absolute.inset-0.bg-primary-dark{border-radius:4px!important}#content-area{max-width:100%}#navbar .max-w-8xl{max-width:100%;margin:0}#navbar .mx-auto{margin-left:0!important;margin-right:0!important}.font-rubik{font-family:\"Rubik\", sans-serif}.font-termina{font-family:\"Termina Demi\", sans-serif!important}h1,h2,h3,h4,h5,h6{font-family:\"Rubik\", sans-serif}p,.custom-prose{font-family:\"Rubik\", sans-serif}#content-container .prose{font-size:0.9rem;line-height:1.4}.custom-card a{background:transparent;border:none}.custom-card a>div div:first-child.h-6{height:2rem!important;width:4rem!important;margin-bottom:1rem!important}.custom-card a>div div:first-child img{width:4rem!important}.footer-container{display:flex;justify-content:space-between;align-items:start;padding:1rem 1.25rem 6rem 1.25rem;max-width:87rem;margin:auto;border-top:1px solid #ccc;margin-top:2rem;flex-direction:row;font-size:0.875rem}.footer-container a{font-size:0.75rem}.footer-column{flex:1;margin-right:1rem;margin-bottom:1rem}.footer-link{display:flex;align-items:normal}.footer-link span{margin-left:0.3rem;font-size:calc(1rem + 0.8px)}.footer-link svg{margin-top:5px}.footer-column.support-links p{margin-bottom:0.5rem}.footer-column.support-links icon{margin-right:1rem}.footer-column.support-links{margin-top:0.5rem}.footer-column .subscribe-heading{font-size:18px;padding-top:0.25rem}.footer-column form{margin-top:0.25rem}.footer-column.social-links{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.footer-column.social-links a{display:inline-flex;align-items:center;margin-right:1rem}.footer-column.social-links a:last-child{margin-right:0}a img{outline:none;pointer-events:none}@media (max-width: 768px){.footer-container{flex-direction:column;padding-left:1rem;padding-right:1rem}.footer-column{margin-bottom:1rem;margin-right:0}.footer-column.social-links{justify-content:center}}.video-thumbnail{position:relative;display:inline-block;cursor:pointer}.video-thumbnail img{width:200px;height:auto}.play-button{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);width:50px;height:50px;background-color:rgba(0, 0, 0, 0.7);border-radius:50%;display:flex;justify-content:center;align-items:center}.play-button::after{content:\"\";display:block;width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:15px solid white;margin-left:5px}.cfgap{margin-top:10px;height:5px;width:100%}.cfbadge{font-size:12px;border:1px solid #6d8299;border-radius:4px;overflow:hidden;margin-right:10px;display:inline-block;line-height:1rem}.cfbadge span{padding:3px 5px;text-align:center;text-transform:small-caps}.cfbadge .t{background-color:transparent;color:#333}.cfbadge .v{background-color:#6d8299;color:#fff}.cfbadge.green{border:1px solid #5f939a}.cfbadge.green .v{background-color:#5f939a}.cfbadge.yellow{border:1px solid #bd9354}.cfbadge.yellow .v{background-color:#bd9354}.v3jsrequired{color:#d57e7e;text-transform:uppercase;font-size:10px;font-weight:bold}.v3jsoptional{color:#5f939a;text-transform:uppercase;font-size:10px;font-weight:bold}.checklist-circle-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:2px solid currentColor;border-radius:50%;flex-shrink:0}.checklist-circle-icon.checked{border-color:rgb(38, 201, 125);background:rgb(38, 201, 125)}.checklist-check-mark{width:12px;height:12px;stroke-width:2}.checklist-circle-icon.checked .checklist-check-mark{display:block}.button-group{display:flex;gap:8px}.checklist-btn{padding:4px 14px;border-radius:4px;border:none;cursor:pointer;transition:all 0.2s}.checklist-btn:hover{background:rgb(31, 41, 55, 0.4)}.checklist-btn.active-yes{background:rgb(38, 201, 125);color:white}.checklist-btn.active-no{background:#faab01;color:white}.checklist-btn.active-na{background:#4b5563;color:white}.warning-box{display:none;align-items:flex-start;border-radius:6px;padding:16px;margin-top:16px;background:#faab01;color:white}.info-box{display:flex;align-items:flex-start;border-radius:6px;font-weight:400;padding:16px;margin-top:16px;gap:8px}.icon{width:16px;height:16px}.warning-box.show{display:flex}.comparison-table{width:100%;border-collapse:collapse;font-family:system-ui, -apple-system, sans-serif;margin:20px 0}.comparison-table th{background-color:#f8fafc;padding:12px;text-align:left;border-bottom:2px solid #e2e8f0;font-weight:600}.comparison-table td{padding:12px;border-bottom:1px solid #e2e8f0;vertical-align:top;line-height:1.5}.comparison-table tr:hover{background-color:#f8fafc}.comparison-feature{font-weight:500;color:#1a202c;background-color:#e9ecef}.comparison-use-case-selector{margin:20px 0;padding:20px;background-color:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.comparison-use-case-selector select{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:6px;font-size:16px;margin-bottom:16px}.comparison-recommendation{padding:16px;border-radius:6px;display:none;margin-top:12px}.comparison-recommendation.active{display:block;animation:fadeIn 0.3s ease-in}.comparison-links{background-color:#e8f5e9;border:1px solid #c8e6c9}.comparison-forms{background-color:#e3f2fd;border:1px solid #bbdefb}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.singleupdate{padding:10px 10px 10px 10px}.month{border-radius:3px 3px 3px 3px;color:#000;height:26px;line-height:26px;text-decoration:none}.pgapi{background:#fff;background-color:#0073e6;border-radius:3px 3px 3px 3px;color:#fff;display:inline-block;height:20px;line-height:20px;padding:0 16px 0 17px;position:relative;margin:0 8px 8px 0;text-decoration:none}.jssdk{background:#fff;background-color:#006E4F;border-radius:3px 3px 3px 3px;color:#fff;display:inline-block;height:20px;line-height:20px;padding:0 16px 0 17px;position:relative;margin:0 8px 8px 0;text-decoration:none}.android{background:#fff;background-color:#205375;border-radius:3px 3px 3px 3px;color:#fff;display:inline-block;height:20px;line-height:20px;padding:0 16px 0 17px;position:relative;margin:0 8px 8px 0;text-decoration:none}.ios{background:#fff;background-color:#06541b;border-radius:3px 3px 3px 3px;color:#fff;display:inline-block;height:20px;line-height:20px;padding:0 16px 0 17px;position:relative;margin:0 8px 8px 0;text-decoration:none}.react_native{background:#fff;background-color:#966d05;border-radius:3px 3px 3px 3px;color:#fff;display:inline-block;height:20px;line-height:20px;padding:0 16px 0 17px;position:relative;margin:0 8px 8px 0;text-decoration:none}.plugins{background:#fff;background-color:#f2388c;border-radius:3px 3px 3px 3px;color:#fff;display:inline-block;height:20px;line-height:20px;padding:0 16px 0 17px;position:relative;margin:0 8px 8px 0;text-decoration:none}.general{background:#fff;background-color:#ff7f50;border-radius:3px 3px 3px 3px;color:#fff;display:inline-block;height:20px;line-height:20px;padding:0 16px 0 17px;position:relative;margin:0 8px 8px 0;text-decoration:none}#sidebar-content #navigation-items li>a,#sidebar-content #navigation-items li>div{background:transparent!important;padding-top:5px;padding-bottom:5px}#sidebar-content #navigation-items>div:has(>h5){margin-top:15px!important}#sidebar-content #navigation-items>div:has(>h5)>h5{margin-bottom:0px!important}.pg-home-wrapper{padding:20px;display:flex;flex-wrap:wrap;gap:20px;font-family:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif}.pg-home-card{background:white;border-radius:12px;padding:24px;width:calc(50% - 10px);box-shadow:0 2px 4px rgba(0, 0, 0, 0.05)}.pg-home-card-title{color:#666;font-size:14px;font-weight:600;margin-bottom:20px;text-transform:uppercase}.pg-home-integration-list{list-style:none;margin:0;padding:0}.pg-home-integration-item{display:flex;align-items:center;margin-bottom:16px}.pg-home-integration-item:last-child{margin-bottom:0}.pg-home-integration-icon{width:24px;height:24px;margin-right:12px;display:flex;align-items:center;justify-content:center;color:#006E4F}.pg-home-integration-content{flex:1}.pg-home-integration-title{font-size:14px;font-weight:500;color:#333;margin-bottom:2px}.pg-home-integration-subtitle{font-size:12px;color:#666}[data-table-of-contents]{width:16.5rem}#navbar .flex:has(>a[href=\"/docs/api-reference/overview\"]),#navbar .flex:has(>a[href=\"/api-reference/overview\"]){width:100%}.hidden.lg\\:flex.px-12.h-12 .h-full.flex a:nth-last-child(3){margin-left:auto}.hidden.lg\\:flex.px-12.h-12 .h-full.flex a:last-child(2){margin-left:1rem}.hidden.lg\\:flex.px-12.h-12 .h-full.flex a:last-child{margin-left:1rem}li.pg-home-integration-item{padding-left:0px!important}li.pg-home-integration-item::before{display:none!important}.pg-home-card-title{margin-top:0px!important}.one{position:absolute;top:0;left:0;width:100%;z-index:0;background-repeat:no-repeat;background-size:100%;height:100svh;clip-path:polygon(0 0, 100% 0, 100% 54%, 0% 100%);transform:blur(3px)}.one::after{content:\"\";position:absolute;background-image:linear-gradient(#006E4F 1px, transparent 1px),\n\t\tlinear-gradient(to right, #006E4F 1px, #fbfbfb 1px);-webkit-mask-image:linear-gradient(\n\t\tto bottom,\n\t\trgba(0, 0, 0, 1) 0%,\n\t\trgba(0, 0, 0, 0.8) 20%,\n\t\trgba(0, 0, 0, 0.6) 40%,\n\t\trgba(0, 0, 0, 0.4) 60%,\n\t\trgba(0, 0, 0, 0.2) 80%,\n\t\trgba(0, 0, 0, 0) 100%\n\t);mask-image:linear-gradient(\n\t\t135deg,\n\t\trgba(0, 0, 0, 0.2) 0%,\n\t\trgba(0, 0, 0, 0.1) 20%,\n\t\trgba(0, 0, 0, 0.05) 40%,\n\t\trgba(0, 0, 0, 0.025) 60%,\n\t\trgba(0, 0, 0, 0.0125) 80%,\n\t\trgba(0, 0, 0, 0) 100%\n\t);background-size:32px 32px;width:100%;height:100vh;top:0;left:0}.dark .one::after{background-image:linear-gradient(#fefefe 1px, transparent 1px),\n\t\tlinear-gradient(to right, #fefefe 1px, #000000 1px)}.blur-card{border-radius:100%/85%;background-color:rgba(255, 255, 255, 0.75);box-shadow:0 0 64px 64px rgba(255, 255, 255, 0.75)}.dark .blur-card{background-color:rgba(0, 0, 0, 0.75);box-shadow:0 0 64px 64px rgba(0, 0, 0, 0.75)}.shadow-2xl{box-shadow:rgba(0, 0, 0, 0.1) 0px 4px 12px}.padding{padding:1rem}.hero{border-radius:6px;box-shadow:rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,\n\t\trgba(0, 0, 0, 0.3) 0px 8px 16px -8px}.button-61{align-items:center;appearance:none;border-radius:4px;border-style:none;box-shadow:rgba(0, 0, 0, 0.2) 0 3px 1px -2px, rgba(0, 0, 0, 0.14) 0 2px 2px 0,\n\t\trgba(0, 0, 0, 0.12) 0 1px 5px 0;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:0.875rem;font-weight:500;height:36px;justify-content:center;letter-spacing:0.0892857em;line-height:normal;min-width:64px;outline:none;overflow:visible;padding:0 16px;position:relative;text-align:center;text-decoration:none;text-transform:uppercase;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);user-select:none;-webkit-user-select:none;touch-action:manipulation;vertical-align:middle;will-change:transform, opacity}.button-61:hover{box-shadow:rgba(0, 0, 0, 0.2) 0 2px 4px -1px, rgba(0, 0, 0, 0.14) 0 4px 5px 0,\n\t\trgba(0, 0, 0, 0.12) 0 1px 10px 0}.button-61:disabled{background-color:rgba(0, 0, 0, 0.12);box-shadow:rgba(0, 0, 0, 0.2) 0 0 0 0, rgba(0, 0, 0, 0.14) 0 0 0 0,\n\t\trgba(0, 0, 0, 0.12) 0 0 0 0;color:rgba(0, 0, 0, 0.37);cursor:default;pointer-events:none}.button-61:not(:disabled){background-color:#006E4F}.text-cf{color:#006E4F}a.underline{text-decoration:none}a.underline:hover{text-decoration:underline}.button-61:focus{box-shadow:rgba(0, 0, 0, 0.2) 0 2px 4px -1px, rgba(0, 0, 0, 0.14) 0 4px 5px 0,\n\t\trgba(0, 0, 0, 0.12) 0 1px 10px 0}.button-61:active{box-shadow:rgba(0, 0, 0, 0.2) 0 5px 5px -3px,\n\t\trgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px;background:#006E4F}.bg-transparent{background-color:transparent!important}.button-61.bg-transparent{color:var(--text-gray-800);box-shadow:none}.z-20{z-index:20}.max-w-475{max-width:475px}.activation{display:inline-flex;align-items:center;padding:4px 12px;border-radius:4px;font-size:0.75rem;font-weight:500;letter-spacing:0.25px;color:white;transition:all 0.3s ease;cursor:default;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);margin:4px;font-family:system-ui, -apple-system, sans-serif;position:relative;overflow:hidden;max-width:fit-content;white-space:nowrap}.activation::before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(rgba(255, 255, 255, 0.1), transparent);pointer-events:none}.automatic{background-color:#059669;border:1px solid #047857}.automatic:hover{background-color:#047857;box-shadow:0 4px 6px rgba(5, 150, 105, 0.2)}.automatic::after{content:\"✓\";margin-left:4px;font-weight:bold}.self-activate{background-color:#00A887;border:1px solid #006E4F}.self-activate:hover{background-color:#006E4F;box-shadow:0 4px 6px rgba(37, 99, 235, 0.2)}.self-activate::after{content:\"→\";margin-left:4px;font-weight:bold}.request-activation{background-color:#f97316;border:1px solid #ea580c}.request-activation:hover{background-color:#ea580c;box-shadow:0 4px 6px rgba(249, 115, 22, 0.2)}.request-activation::after{content:\"!\";margin-left:4px;font-weight:bold}.activation:focus{outline:none;box-shadow:0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 4px rgba(0, 0, 0, 0.1)}@media (max-width: 768px){.activation{padding:4px 8px;font-size:0.6875rem;margin:4px 2px}}@media (prefers-contrast: high){.activation{border-width:2px}.automatic{background-color:#006400}.self-activate{background-color:#00008b}.request-activation{background-color:#b8860b}}.product-card{position:relative;padding:15px;padding-left:48px;display:block}.product-card>span{position:absolute;width:32px;height:32px;top:20px;left:5px}.product-card h4{font-size:1rem!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.product-card p{font-size:0.8rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.embed-widget{#navbar {\n\t\tdisplay: none;\n\t}\n\t#content-container > div {\n\t\tpadding: 0;\n\t}\n\tfooter {\n\t\tdisplay: none;\n\t}}.lowmhr hr{margin-bottom:1em!important;margin-top:1em!important}#announcement-bar{display:flex;justify-content:center;align-items:center;gap:10px;padding:10px 20px;position:fixed;top:0;left:0;width:100%;background-color:#E1F1E6;color:#000;font-size:16px;font-family:Arial, sans-serif;z-index:1000;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);text-align:center}#announcement-bar a{color:#006E4F;text-decoration:none}#dismiss-btn{color:#000;font-size:18px;font-weight:bold;cursor:pointer;display:inline}#dismiss-btn:hover{color:#FF0000}@media (max-width: 768px){#announcement-bar{flex-direction:column;align-items:flex-start;padding:15px;font-size:14px;text-align:left;gap:10px}#announcement-bar a{margin-top:5px}#dismiss-btn{margin-top:5px}}"},{"filePath":"typography.css","content":"h1{font-size:2.4rem}h2{font-size:2rem}h3{font-size:1.6rem}h4{font-size:1.2rem}h5{font-size:1rem}h6{font-size:0.8rem}.bold{font-weight:bold}.semibold{font-weight:600}.medium{font-weight:500}.regular{font-weight:400}.light{font-weight:300}"}],"page":{"pagePath":"api-reference/payments/latest/orders/create","slug":"/api-reference/payments/latest/orders/create","pageMetadata":{"title":"Create Order","openapi":"openapi/payments/v2025-01-01.yaml post /orders","description":"### Order\nAn order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for.\nUse this API to create orders with Cashfree from your backend to get a `payment_sessions_id`. \nYou can use the `payment_sessions_id` to create a transaction for the order.\n","href":"/api-reference/payments/latest/orders/create"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n h3: \"h3\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.h3, {\n children: \"Order\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"An order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for.\\nUse this API to create orders with Cashfree from your backend to get a \", _jsx(_components.code, {\n children: \"payment_sessions_id\"\n }), \".\\nYou can use the \", _jsx(_components.code, {\n children: \"payment_sessions_id\"\n }), \" to create a transaction for the order.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Order","openapi":"openapi/payments/v2025-01-01.yaml post /orders","description":"### Order\nAn order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for.\nUse this API to create orders with Cashfree from your backend to get a `payment_sessions_id`. \nYou can use the `payment_sessions_id` to create a transaction for the order.\n","href":"/api-reference/payments/latest/orders/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/telr/79a79d8b9ca0b2a1/addframe.js","/_mintlify/custom/telr/bc4eac15553663a2/openapi-rm-desc.js","/_mintlify/custom/telr/5748000362acad1e/quote-openapi.js","/_mintlify/custom/telr/a58c8caa48620fe4/script.js","/_mintlify/custom/telr/d99a96c0c4b010fe/updateHelpAccordionsWithPostHog.js","/_mintlify/custom/telr/bd8561d01634fd2e/updateIframeSrc.js","/_mintlify/custom/telr/7b49b0aba32ccd66/util/checkLinks.js","/_mintlify/custom/telr/0a1efd0b138512b4/util/downloadImages.js","/_mintlify/custom/telr/6520965c686ab08e/util/updateFrontmatter.js"],"openApiReferenceData":{"operation":{"summary":"Create Order","security":["dda959de-b363-4068-940c-ebd71e2aa7d9","792e7b14-1f73-45ae-9668-3c098ebd3fb2","db56075e-b833-4178-a642-5160315b0dd0","265d9110-3010-42af-a786-d50d400e9661"],"description":"### Order\nAn order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for.\nUse this API to create orders with Cashfree from your backend to get a `payment_sessions_id`. \nYou can use the `payment_sessions_id` to create a transaction for the order.\n","tags":["Orders"],"operationId":"PGCreateOrder","deprecated":false,"parameters":["5ba93798-0b0f-42d4-b1b1-3a1f655bd791","21faac9f-b2bf-4f9e-9ac2-34f271040c82","4644df1b-43a7-4d54-a2cc-8cef9b5d3af3"],"requestBody":"66f1cec6-13e2-418f-a153-1d7fbd8a8c41","responses":{"200":"441fe9b9-031c-41b3-97d8-85b8354a359f","400":"1aba2438-6974-45a4-bd15-d5c5c5ed60f7","401":"eb1fb9e4-9e54-4a9a-a48a-fa40e822a0e9","404":"7b5ce8f8-9f70-450b-ae6b-84d248a57d82","409":"50e7b492-a65e-40ec-bc72-91bc2edce28d","422":"6458a3b1-c5fc-4f64-9df9-818cbbcaa759","429":"996c5c90-5def-4e88-b698-793f66ab42e2","500":"0ef90c16-bbd2-43ec-8427-8a7087201453"},"callbacks":{"PaymentWebhook":{"$ref":"#/components/callbacks/PaymentWebhook"}},"method":"post","type":"path","servers":["2bf43890-ba02-4aec-aac3-a972c09e7d44","256aa8d6-2c43-43f3-bd02-dd2c5e11e635"],"path":"/orders","baseUrlOptions":["https://sandbox.cashfree.com/pg","https://api.cashfree.com/pg"],"title":"Create Order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5ba93798-0b0f-42d4-b1b1-3a1f655bd791":{"in":"header","name":"x-api-version","required":true,"description":"API version to be used. Format is in YYYY-MM-DD.","schema":{"type":"string","description":"API version to be used","default":"2025-01-01","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"2025-01-01","x-ignore":true},"21faac9f-b2bf-4f9e-9ac2-34f271040c82":{"in":"header","name":"x-request-id","description":"Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to Cashfree.","required":false,"schema":{"type":"string","isRequired":false,"description":"Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to Cashfree.","uniqueKey":"","typeLabel":"string"},"example":"4dfb9780-46fe-11ee-be56-0242ac120002"},"4644df1b-43a7-4d54-a2cc-8cef9b5d3af3":{"in":"header","name":"x-idempotency-key","required":false,"description":"An idempotency key is a unique identifier you include with your API call.\nIf the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. \n","schema":{"type":"string","format":"UUID","isRequired":false,"description":"An idempotency key is a unique identifier you include with your API call.\nIf the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. \n","uniqueKey":"","typeLabel":"string\u003cUUID>"},"example":"47bf8872-46fe-11ee-be56-0242ac120002"}},"requestBody":{"description":"Request body to create an order at cashfree","required":true,"content":{"application/json":{"schema":{"title":"CreateOrderRequest","description":"Request body to create an order at cashfree","type":"object","properties":{"order_amount":{"type":"number","description":"Bill amount for the order. Provide upto two decimals. 10.15 means Rs 10 and 15 paisa. For orders in non-INR currency, please refer to [supported amounts](https://www.cashfree.com/docs/payments/cross-border/international-payment-gateway/currencies-supported#decimal-support) per currency.","format":"double","example":10.15,"minimum":1,"isRequired":true,"uniqueKey":"order_amount","typeLabel":"number\u003cdouble>"},"order_currency":{"type":"string","description":"Currency for the order. INR if left empty. For support currency list, refer [here](https://www.cashfree.com/docs/payments/cross-border/international-payment-gateway/currencies-supported#full-currency-list). Contact care@cashfree.com to enable new currencies.","example":"INR","isRequired":true,"uniqueKey":"order_currency","typeLabel":"string"},"customer_details":{"type":"object","title":"CustomerDetails","description":"The customer details that are necessary. Note that you can pass dummy details if your use case does not require the customer details.","required":["customer_id","customer_phone"],"example":{"customer_id":"7112AAA812234","customer_email":"john@cashfree.com","customer_phone":"9908734801","customer_name":"John Doe","customer_bank_account_number":"1518121112","customer_bank_ifsc":"XITI0000001","customer_bank_code":3333,"customer_uid":"54deabb4-ba45-4a60-9e6a-9c016fe7ab10"},"properties":{"customer_id":{"type":"string","description":"A unique identifier for the customer. Use alphanumeric values only.","minLength":3,"maxLength":50,"isRequired":true,"uniqueKey":"customer_details.customer_id","typeLabel":"string"},"customer_phone":{"type":"string","description":"Customer phone number.","minLength":10,"maxLength":10,"isRequired":true,"uniqueKey":"customer_details.customer_phone","typeLabel":"string"},"customer_email":{"type":"string","description":"Customer email address.","minLength":3,"maxLength":100,"uniqueKey":"customer_details.customer_email","typeLabel":"string"},"customer_name":{"type":"string","description":"Name of the customer.","minLength":3,"maxLength":100,"uniqueKey":"customer_details.customer_name","typeLabel":"string"},"customer_bank_account_number":{"type":"string","description":"Customer bank account. Required if you want to do a bank account check (TPV)","minLength":3,"maxLength":20,"uniqueKey":"customer_details.customer_bank_account_number","typeLabel":"string"},"customer_bank_ifsc":{"type":"string","description":"Customer bank IFSC. Required if you want to do a bank account check (TPV)","uniqueKey":"customer_details.customer_bank_ifsc","typeLabel":"string"},"customer_bank_code":{"type":"number","description":"Customer bank code. Required for net banking payments, if you want to do a bank account check (TPV)","uniqueKey":"customer_details.customer_bank_code","typeLabel":"number"},"customer_uid":{"type":"string","description":"Customer identifier at Cashfree. You will get this when you create/get customer","uniqueKey":"customer_details.customer_uid","typeLabel":"string"}},"isRequired":true,"uniqueKey":"customer_details","typeLabel":"CustomerDetails · object"},"order_id":{"type":"string","description":"Order identifier present in your system. Alphanumeric, '_' and '-' only","minLength":3,"maxLength":45,"example":"your-order-id","uniqueKey":"order_id","typeLabel":"string"},"cart_details":{"type":"object","title":"CartDetails","description":"The cart details that are necessary like shipping address, billing address and more.","properties":{"customer_note":{"type":"string","uniqueKey":"cart_details.customer_note","typeLabel":"string"},"shipping_charge":{"type":"number","format":"double","uniqueKey":"cart_details.shipping_charge","typeLabel":"number\u003cdouble>"},"cart_name":{"type":"string","description":"Name of the cart.","uniqueKey":"cart_details.cart_name","typeLabel":"string"},"customer_shipping_address":{"title":"CartAddress","description":"Address given for cart details.","properties":{"full_name":{"type":"string","uniqueKey":"cart_details.customer_shipping_address.full_name","typeLabel":"string"},"country":{"type":"string","uniqueKey":"cart_details.customer_shipping_address.country","typeLabel":"string"},"city":{"type":"string","uniqueKey":"cart_details.customer_shipping_address.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"cart_details.customer_shipping_address.state","typeLabel":"string"},"pincode":{"type":"string","uniqueKey":"cart_details.customer_shipping_address.pincode","typeLabel":"string"},"address_1":{"type":"string","uniqueKey":"cart_details.customer_shipping_address.address_1","typeLabel":"string"},"address_2":{"type":"string","uniqueKey":"cart_details.customer_shipping_address.address_2","typeLabel":"string"}},"type":"object","uniqueKey":"cart_details.customer_shipping_address","typeLabel":"CartAddress · object"},"customer_billing_address":{"title":"CartAddress","description":"Address given for cart details.","properties":{"full_name":{"type":"string","uniqueKey":"cart_details.customer_billing_address.full_name","typeLabel":"string"},"country":{"type":"string","uniqueKey":"cart_details.customer_billing_address.country","typeLabel":"string"},"city":{"type":"string","uniqueKey":"cart_details.customer_billing_address.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"cart_details.customer_billing_address.state","typeLabel":"string"},"pincode":{"type":"string","uniqueKey":"cart_details.customer_billing_address.pincode","typeLabel":"string"},"address_1":{"type":"string","uniqueKey":"cart_details.customer_billing_address.address_1","typeLabel":"string"},"address_2":{"type":"string","uniqueKey":"cart_details.customer_billing_address.address_2","typeLabel":"string"}},"type":"object","uniqueKey":"cart_details.customer_billing_address","typeLabel":"CartAddress · object"},"cart_items":{"type":"array","items":{"title":"CartItem","description":"Each item in the cart.","properties":{"item_id":{"type":"string","description":"Unique identifier of the item","uniqueKey":"cart_details.cart_items.items.[INDEX].item_id","typeLabel":"string"},"item_name":{"type":"string","description":"Name of the item","uniqueKey":"cart_details.cart_items.items.[INDEX].item_name","typeLabel":"string"},"item_description":{"type":"string","description":"Description of the item","uniqueKey":"cart_details.cart_items.items.[INDEX].item_description","typeLabel":"string"},"item_tags":{"type":"array","items":{"type":"string","uniqueKey":"cart_details.cart_items.items.[INDEX].item_tags.items.[INDEX]","typeLabel":"string"},"description":"Tags attached to that item","uniqueKey":"cart_details.cart_items.items.[INDEX].item_tags","typeLabel":"string[]"},"item_details_url":{"type":"string","description":"Item details url","uniqueKey":"cart_details.cart_items.items.[INDEX].item_details_url","typeLabel":"string"},"item_image_url":{"type":"string","description":"Item image url","uniqueKey":"cart_details.cart_items.items.[INDEX].item_image_url","typeLabel":"string"},"item_original_unit_price":{"type":"number","format":"double","description":"Original price","uniqueKey":"cart_details.cart_items.items.[INDEX].item_original_unit_price","typeLabel":"number\u003cdouble>"},"item_discounted_unit_price":{"type":"number","format":"double","description":"Discounted Price","uniqueKey":"cart_details.cart_items.items.[INDEX].item_discounted_unit_price","typeLabel":"number\u003cdouble>"},"item_currency":{"type":"string","description":"Currency of the item.","uniqueKey":"cart_details.cart_items.items.[INDEX].item_currency","typeLabel":"string"},"item_quantity":{"type":"number","format":"int32","description":"Quantity if that item","uniqueKey":"cart_details.cart_items.items.[INDEX].item_quantity","typeLabel":"number\u003cint32>"}},"type":"object","uniqueKey":"cart_details.cart_items.items.[INDEX]","typeLabel":"CartItem · object"},"uniqueKey":"cart_details.cart_items","typeLabel":"CartItem · object[]"}},"uniqueKey":"cart_details","typeLabel":"CartDetails · object"},"terminal":{"type":"object","title":"Terminal","description":"Use this if you are creating an order for cashfree's softPOS","required":["terminal_type"],"example":{"added_on":"2023-08-04T13:12:58+05:30","cf_terminal_id":"31051123","last_updated_on":"2023-09-06T14:07:00+05:30","terminal_address":"Banglore","terminal_id":"terminal-1212","terminal_name":"test","terminal_note":"POS vertical","terminal_phone_no":"6309291183","terminal_status":"ACTIVE","terminal_type":"SPOS"},"properties":{"terminal_type":{"description":"To identify the type of terminal product in use, in this case it is SPOS.","maxLength":10,"minLength":4,"type":"string","isRequired":true,"uniqueKey":"terminal.terminal_type","typeLabel":"string"},"added_on":{"description":"date time at which terminal is added","type":"string","uniqueKey":"terminal.added_on","typeLabel":"string"},"cf_terminal_id":{"description":"Cashfree terminal id, this is a required parameter when you do not provide the terminal phone number.","type":"integer","uniqueKey":"terminal.cf_terminal_id","typeLabel":"integer"},"last_updated_on":{"description":"last instant when this terminal was updated","type":"string","uniqueKey":"terminal.last_updated_on","typeLabel":"string"},"terminal_address":{"description":"location of terminal","type":"string","uniqueKey":"terminal.terminal_address","typeLabel":"string"},"terminal_id":{"description":"terminal id for merchant reference","maxLength":100,"minLength":3,"type":"string","uniqueKey":"terminal.terminal_id","typeLabel":"string"},"terminal_name":{"description":"name of terminal/agent/storefront","type":"string","uniqueKey":"terminal.terminal_name","typeLabel":"string"},"terminal_note":{"description":"note given by merchant while creating the terminal","type":"string","uniqueKey":"terminal.terminal_note","typeLabel":"string"},"terminal_phone_no":{"description":"mobile num of the terminal/agent/storefront,This is a required parameter when you do not provide the cf_terminal_id.","type":"string","uniqueKey":"terminal.terminal_phone_no","typeLabel":"string"},"terminal_status":{"description":"status of terminal active/inactive","type":"string","uniqueKey":"terminal.terminal_status","typeLabel":"string"}},"uniqueKey":"terminal","typeLabel":"Terminal · object"},"order_meta":{"type":"object","title":"OrderMeta","description":"Optional meta details to control how the customer pays and how payment journey completes","example":{"return_url":"https://www.cashfree.com/devstudio/thankyou","payment_methods":"cc,dc"},"properties":{"return_url":{"type":"string","example":"https://www.cashfree.com/devstudio/thankyou","description":"The URL to which user will be redirected to after the payment on bank OTP page. Maximum length: 250. We suggest to keep context of order_id in your return_url so that you can identify the order when customer lands on your page. Example of return_url format could be https://www.cashfree.com/devstudio/thankyou","uniqueKey":"order_meta.return_url","typeLabel":"string"},"notify_url":{"type":"string","example":"https://example.com/cf_notify","description":"Notification URL for server-server communication. Useful when user's connection drops while re-directing. NotifyUrl should be an https URL. Maximum length: 250.","uniqueKey":"order_meta.notify_url","typeLabel":"string"},"payment_methods":{"example":"cc,dc,upi","description":"Allowed payment modes for this order. Pass comma-separated values among following options - \"cc\", \"dc\", \"ccc\", \"ppc\",\"nb\",\"upi\",\"paypal\",\"app\",\"paylater\",\"cardlessemi\",\"dcemi\",\"ccemi\",\"banktransfer\". Leave it blank to show all available payment methods","uniqueKey":"order_meta.payment_methods","typeLabel":"any"},"payment_methods_filters":{"description":"Allowed payment modes for this order. Along with multiple filters for cards can be added to this key. And this filtering will be honoured during transaction creation.","type":"object","properties":{"methods":{"description":"Allowed payment modes for this order. credit_card, debit_card, netbanking, paylater, etc are the values that can be passed to this parameter.","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those modes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.methods.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.methods.values.items.[INDEX]","typeLabel":"string"},"description":"The accepted entries for this paramter are \"debit_card, credit_card, prepaid_card, upi, wallet, netbanking, banktransfer, paylater, paypal, debit_card_emi, credit_card_emi, upi_credit_card, upi_ppi, cardless_emi, account_based_payment, corporate_credit_card, sbc_debit_card, sbc_emandate, sbc_upi, sbc_credit_card\"","uniqueKey":"order_meta.payment_methods_filters.methods.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.methods","typeLabel":"object"},"filters":{"description":"This object takes details of all the filtering that has to be done for this order. Filters on card bins, card schemes, card issuing bank and card suffixes","type":"object","properties":{"card_emi_tenure":{"description":"Allowed card emi tenure for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those bins present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"integer","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure.values.items.[INDEX]","typeLabel":"integer"},"description":"List of tenure to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure.values","typeLabel":"integer[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure","typeLabel":"object"},"card_emi_bins":{"description":"Allowed card bins for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those bins present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins.values.items.[INDEX]","typeLabel":"string"},"description":"List of card bins to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins","typeLabel":"object"},"card_emi_schemes":{"description":"Allowed card schemes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those schemes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes.values.items.[INDEX]","typeLabel":"string"},"description":"List of card schemes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes","typeLabel":"object"},"card_emi_suffix":{"description":"Allowed card suffixes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those suffixes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix.values.items.[INDEX]","typeLabel":"string"},"description":"List of card suffixes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix","typeLabel":"object"},"card_emi_issuing_bank":{"description":"Allowed card issuing bank for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those issuing bank present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank.action","typeLabel":"string"},"values":{"items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank.values.items.[INDEX]","typeLabel":"string"},"type":"array","description":"List of card issuing bank to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank","typeLabel":"object"},"card_bins":{"description":"Allowed card bins for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those bins present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_bins.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_bins.values.items.[INDEX]","typeLabel":"string"},"description":"List of card bins to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_bins.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_bins","typeLabel":"object"},"card_schemes":{"description":"Allowed card schemes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those schemes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes.values.items.[INDEX]","typeLabel":"string"},"description":"List of card schemes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes","typeLabel":"object"},"card_suffix":{"description":"Allowed card suffixes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those suffixes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix.values.items.[INDEX]","typeLabel":"string"},"description":"List of card suffixes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix","typeLabel":"object"},"card_issuing_bank":{"description":"Allowed card issuing bank for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those issuing bank present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank.action","typeLabel":"string"},"values":{"items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank.values.items.[INDEX]","typeLabel":"string"},"type":"array","description":"List of card issuing bank to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank","typeLabel":"object"}},"uniqueKey":"order_meta.payment_methods_filters.filters","typeLabel":"object"}},"uniqueKey":"order_meta.payment_methods_filters","typeLabel":"object"}},"uniqueKey":"order_meta","typeLabel":"OrderMeta · object"},"order_expiry_time":{"type":"string","format":"ISO8601","description":"Time after which the order expires. Customers will not be able to make the payment beyond the time specified here. We store timestamps in IST, but you can provide them in a valid ISO 8601 time format. Example 2021-07-02T10:20:12+05:30 for IST, 2021-07-02T10:20:12Z for UTC","example":"2021-07-02T10:20:12+05:30","uniqueKey":"order_expiry_time","typeLabel":"string\u003cISO8601>"},"order_note":{"type":"string","description":"Order note for reference.","example":"Test order","minLength":3,"maxLength":200,"uniqueKey":"order_note","typeLabel":"string"},"order_tags":{"type":"object","description":"Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added","maxProperties":15,"example":{"product":"Laptop","shipping_address":"123 Main St","name":"John Doe","city":"Bangalore"},"additionalProperties":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"order_tags.additionalProperties","typeLabel":"string"},"uniqueKey":"order_tags","typeLabel":"object"},"order_splits":{"type":"array","description":"If you have Easy split enabled in your Cashfree account then you can use this option to split the order amount.","items":{"title":"VendorSplit","description":"Use to split order when cashfree's Easy Split is enabled for your account.","type":"object","example":{"vendor_id":"Vendor01","amount":100.12,"description":"order amount should be more than equal to 100.12"},"properties":{"vendor_id":{"type":"string","description":"Vendor id created in Cashfree system","isRequired":true,"uniqueKey":"order_splits.items.[INDEX].vendor_id","typeLabel":"string"},"amount":{"type":"number","description":"Amount which will be associated with this vendor","uniqueKey":"order_splits.items.[INDEX].amount","typeLabel":"number"},"percentage":{"type":"number","description":"Percentage of order amount which shall get added to vendor account","uniqueKey":"order_splits.items.[INDEX].percentage","typeLabel":"number"},"tags":{"type":"object","maxProperties":15,"description":"Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added","additionalProperties":{"type":"object","uniqueKey":"order_splits.items.[INDEX].tags.additionalProperties","typeLabel":"object"},"uniqueKey":"order_splits.items.[INDEX].tags","typeLabel":"object"}},"required":["vendor_id"],"uniqueKey":"order_splits.items.[INDEX]","typeLabel":"VendorSplit · object"},"example":[{"amount":10,"vendor":"john"}],"uniqueKey":"order_splits","typeLabel":"VendorSplit · object[]"},"products":{"title":"products","type":"object","description":"Use this to set configurations for the products like One Click Checkout, Verify and Pay, if they are enabled for your account","properties":{"one_click_checkout":{"type":"object","description":"Specify the required configurations for this feature","properties":{"enabled":{"type":"boolean","description":"Option to enable or disable the feature","uniqueKey":"products.one_click_checkout.enabled","typeLabel":"boolean"},"conditions":{"type":"array","description":"The conditions array allows to configure rules by adding condition objects with specific parameters for feature configurations.","items":{"type":"object","properties":{"action":{"type":"string","description":"The Action key in the conditions array specifies whether a condition should \"ALLOW\" or \"DENY\" the specified rule or feature","uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].action","typeLabel":"string"},"key":{"type":"string","description":"Specify what you're trying to configure, such as \"features\"","maxLength":50,"uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].key","typeLabel":"string"},"values":{"type":"array","description":"Define the values you need to set within the conditions in this array, such as \"checkoutCollectAddress\", \"checkoutAuthenticate\"","maxItems":10,"items":{"type":"string","uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"products.one_click_checkout.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"products.one_click_checkout.conditions","typeLabel":"object[]"}},"uniqueKey":"products.one_click_checkout","typeLabel":"object"},"verify_pay":{"type":"object","description":"Specify the required configurations for this feature","properties":{"enabled":{"type":"boolean","description":"Option to enable or disable the feature","uniqueKey":"products.verify_pay.enabled","typeLabel":"boolean"},"conditions":{"type":"array","description":"The conditions array allows to configure rules by adding condition objects with specific parameters for feature configurations.","items":{"type":"object","properties":{"action":{"type":"string","description":"The Action key in the conditions array specifies whether a condition should \"ALLOW\" or \"DENY\" the specified rule or feature","uniqueKey":"products.verify_pay.conditions.items.[INDEX].action","typeLabel":"string"},"key":{"type":"string","description":"Specify what you're trying to configure, such as \"features\"","maxLength":50,"uniqueKey":"products.verify_pay.conditions.items.[INDEX].key","typeLabel":"string"},"values":{"type":"array","description":"Define the values you need to set within the conditions in this array, such as \"checkoutCollectAddress\", \"checkoutAuthenticate\"","maxItems":10,"items":{"type":"string","uniqueKey":"products.verify_pay.conditions.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"products.verify_pay.conditions.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"products.verify_pay.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"products.verify_pay.conditions","typeLabel":"object[]"}},"uniqueKey":"products.verify_pay","typeLabel":"object"}},"uniqueKey":"products","typeLabel":"products · object"}},"required":["order_amount","order_currency","customer_details"],"uniqueKey":"","typeLabel":"CreateOrderRequest · object"},"examples":{"order_minimum":{"title":"order_minimum","summary":"Minimun required details","description":"Minimum set of parameters needed to create an order at cashfree","value":{"order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"}}},"order_orderid":{"title":"order_orderid","summary":"Specify your order_id","description":"You should always send `order_id`. If not sent Cashfree will generate one for you. This is useful during other api calls","value":{"order_id":"playstation_purchase_1","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9908734801"}}},"order_customer":{"title":"order_customer","summary":"Customer Details","description":"Complete customer details","value":{"order_id":"playstation_purchase_1","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9908734801","customer_email":"john@example.com","customer_name":"John Doe"}}},"order_with_return_url":{"title":"order_with_return_url","summary":"With return/callback URL","description":"add a return url to your order","value":{"order_id":"playstation_purchase_2","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"},"order_meta":{"return_url":"https://www.cashfree.com/devstudio/thankyou"}}},"order_with_payment_methods":{"title":"order_with_payment_methods","summary":"With Payment Methods URL","description":"add payment methods, customer can pnly pay using these payment methods only","value":{"order_id":"playstation_purchase_4","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"},"order_meta":{"return_url":"https://www.cashfree.com/devstudio/thankyou","payment_methods":"cc,dc,upi"}}},"order_expiry":{"title":"order_expiry","summary":"With future expiry time for order","description":"Add an exipry time for your order. No transactions would be accepted after the order has expired","value":{"order_id":"playstation_purchase_5","order_currency":"INR","order_amount":10.34,"order_expiry_time":"2021-07-29T00:00:00.000Z","customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"}}},"order_note":{"title":"order_note","summary":"With additonal note","description":"Add an additional note for your order which you can later use. It has to be string. For more detailed data use `order_tags`","value":{"order_id":"playstation_purchase_6","order_currency":"INR","order_amount":10.34,"order_note":"John buying playstation","customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"}}},"order_tags":{"title":"order_tags","summary":"With order tags","description":"Add key value pairs to your order. Can be used later in your workflow","value":{"order_id":"playstation_purchase_6","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"},"order_tags":{"address":"Bengaluru, India","pincode":"560034"}}},"order_splits_amount":{"title":"order_splits_amount","summary":"With order split Amount","description":"Create an order where the amount received will be split between vendor and merchant based on absolute amount.","value":{"order_id":"playstation_purchase_8","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"},"order_splits":[{"vendor_id":"Jane","amount":1.45,"tags":{"address":"Hyderabad"}},{"vendor_id":"Barbie","amount":3.45,"tags":{"address":"Bengaluru, India"}}]}},"order_splits_cent":{"title":"order_splits_cent","summary":"With order split Percentage","description":"Create an order where the amount received will be split between vendors and merchant based on percentage.\nIn the below example order amount, let us say INR 200 will be divided like this\n- 33% to merchant becomes INR 66 \n- 20% to Jane becomes INR 40\n- 47% to Barbie becomes INR 94\n","value":{"order_id":"playstation_purchase_8","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"},"order_splits":[{"vendor_id":"Jane","percentage":20},{"vendor_id":"Barbie","percentage":47}]}},"order_invoice":{"title":"order_invoice","summary":"With order invoice","description":"Add invoice details for your order","value":{"order_id":"playstation_purchase_6","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"},"order_tags":{"gst":"1","gstin":"27AAFCN5072P1ZV","invoice_date":"2023-06-20T04:35:16.748Z","invoice_number":"inv1687149916474","invoice_link":"https://example.com/cf/nextgen.php#section-2","invoice_name":"Walters Invoice","cgst":"1","sgst":"1","igst":"1","cess":"1","gst_incentive":"1","gst_percentage":"1","pincode":"560034","city_tier":"TIER1"}}},"order_customer_tpv":{"title":"order_customer_tpv","summary":"Customer TPV","description":"Customer with bank details if provided he or she can pay by only that bank account","value":{"order_id":"playstation_purchase_1","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_name":"John Doe","customer_phone":"9908734801","customer_email":"john@example.com","customer_bank_ifsc":"XDFC0000045","customer_bank_account_number":"123124123123123","customer_bank_code":3021}}},"order_payment_methods_filters":{"title":"order_payment_methods_filters","summary":"With Payment Methods Filters","description":"add payment methods, customer can pnly pay using these payment methods only","value":{"order_id":"playstation_purchase_4","order_currency":"INR","order_amount":10.34,"customer_details":{"customer_id":"7112AAA812234","customer_phone":"9898989898"},"order_meta":{"return_url":"https://www.cashfree.com/devstudio/thankyou","payment_methods_filters":{"method":{"action":"ALLOW","values":["debit_card","credit_card","credit_card_emi","debit_card_emi"]},"filters":{"card_bins":{"action":"ALLOW","values":[441144,554455]},"card_schemes":{"action":"ALLOW","values":["VISA","MASTERCARD"]},"card_suffix":{"action":"ALLOW","values":[4433,8910]},"card_emi_bins":{"action":"ALLOW","values":[441144,554455]},"card_emi_schemes":{"action":"ALLOW","values":["VISA","MASTERCARD"]},"card_emi_suffix":{"action":"ALLOW","values":[4433,8910]}}}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"441fe9b9-031c-41b3-97d8-85b8354a359f":{"description":"OK","content":{"application/json":{"schema":{"title":"OrderEntity","type":"object","description":"The complete order entity","example":{"$ref":"#/components/examples/order_entity_list_example/value/0"},"properties":{"cf_order_id":{"type":"string","description":"unique id generated by cashfree for your order","uniqueKey":"cf_order_id","typeLabel":"string"},"order_id":{"type":"string","description":"order_id sent during the api request","uniqueKey":"order_id","typeLabel":"string"},"entity":{"type":"string","description":"Type of the entity.","uniqueKey":"entity","typeLabel":"string"},"order_currency":{"type":"string","description":"Currency of the order. Example INR","uniqueKey":"order_currency","typeLabel":"string"},"order_amount":{"type":"number","uniqueKey":"order_amount","typeLabel":"number"},"order_status":{"type":"string","description":"Possible values are \n- `ACTIVE`: Order does not have a sucessful transaction yet\n- `PAID`: Order is PAID with one successful transaction\n- `EXPIRED`: Order was not PAID and not it has expired. No transaction can be initiated for an EXPIRED order.\n`TERMINATED`: Order terminated\n`TERMINATION_REQUESTED`: Order termination requested","uniqueKey":"order_status","typeLabel":"string"},"payment_session_id":{"type":"string","uniqueKey":"payment_session_id","typeLabel":"string"},"order_expiry_time":{"type":"string","uniqueKey":"order_expiry_time","typeLabel":"string"},"order_note":{"type":"string","description":"Additional note for order","uniqueKey":"order_note","typeLabel":"string"},"created_at":{"type":"string","description":"When the order was created at cashfree's server","example":"2022-08-16T14:45:38+05:30","uniqueKey":"created_at","typeLabel":"string"},"order_splits":{"type":"array","items":{"title":"VendorSplit","description":"Use to split order when cashfree's Easy Split is enabled for your account.","type":"object","example":{"vendor_id":"Vendor01","amount":100.12,"description":"order amount should be more than equal to 100.12"},"properties":{"vendor_id":{"type":"string","description":"Vendor id created in Cashfree system","isRequired":true,"uniqueKey":"order_splits.items.[INDEX].vendor_id","typeLabel":"string"},"amount":{"type":"number","description":"Amount which will be associated with this vendor","uniqueKey":"order_splits.items.[INDEX].amount","typeLabel":"number"},"percentage":{"type":"number","description":"Percentage of order amount which shall get added to vendor account","uniqueKey":"order_splits.items.[INDEX].percentage","typeLabel":"number"},"tags":{"type":"object","maxProperties":15,"description":"Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added","additionalProperties":{"type":"object","uniqueKey":"order_splits.items.[INDEX].tags.additionalProperties","typeLabel":"object"},"uniqueKey":"order_splits.items.[INDEX].tags","typeLabel":"object"}},"required":["vendor_id"],"uniqueKey":"order_splits.items.[INDEX]","typeLabel":"VendorSplit · object"},"uniqueKey":"order_splits","typeLabel":"VendorSplit · object[]"},"customer_details":{"title":"CustomerDetailsResponse","description":"The customer details that are necessary. Note that you can pass dummy details if your use case does not require the customer details.","example":{"customer_id":"7112AAA812234","customer_email":"john@cashfree.com","customer_phone":"9908734801","customer_name":"John Doe","customer_bank_account_number":"1518121112","customer_bank_ifsc":"XITI0000001","customer_bank_code":3333,"customer_uid":"54deabb4-ba45-4a60-9e6a-9c016fe7ab10"},"type":"object","properties":{"customer_id":{"type":"string","description":"A unique identifier for the customer. Use alphanumeric values only.","minLength":3,"maxLength":50,"uniqueKey":"customer_details.customer_id","typeLabel":"string"},"customer_email":{"type":"string","description":"Customer email address.","minLength":3,"maxLength":100,"uniqueKey":"customer_details.customer_email","typeLabel":"string"},"customer_phone":{"type":"string","description":"Customer phone number.","minLength":10,"maxLength":10,"uniqueKey":"customer_details.customer_phone","typeLabel":"string"},"customer_name":{"type":"string","description":"Name of the customer.","minLength":3,"maxLength":100,"uniqueKey":"customer_details.customer_name","typeLabel":"string"},"customer_bank_account_number":{"type":"string","description":"Customer bank account. Required if you want to do a bank account check (TPV)","minLength":3,"maxLength":20,"uniqueKey":"customer_details.customer_bank_account_number","typeLabel":"string"},"customer_bank_ifsc":{"type":"string","description":"Customer bank IFSC. Required if you want to do a bank account check (TPV)","uniqueKey":"customer_details.customer_bank_ifsc","typeLabel":"string"},"customer_bank_code":{"type":"number","description":"Customer bank code. Required for net banking payments, if you want to do a bank account check (TPV)","uniqueKey":"customer_details.customer_bank_code","typeLabel":"number"},"customer_uid":{"type":"string","description":"Customer identifier at Cashfree. You will get this when you create/get customer","uniqueKey":"customer_details.customer_uid","typeLabel":"string"}},"uniqueKey":"customer_details","typeLabel":"CustomerDetailsResponse · object"},"order_meta":{"title":"OrderMeta","description":"Optional meta details to control how the customer pays and how payment journey completes","type":"object","properties":{"return_url":{"type":"string","example":"https://www.cashfree.com/devstudio/thankyou","description":"The URL to which user will be redirected to after the payment on bank OTP page. Maximum length: 250. We suggest to keep context of order_id in your return_url so that you can identify the order when customer lands on your page. Example of return_url format could be https://www.cashfree.com/devstudio/thankyou","uniqueKey":"order_meta.return_url","typeLabel":"string"},"notify_url":{"type":"string","example":"https://example.com/cf_notify","description":"Notification URL for server-server communication. Useful when user's connection drops while re-directing. NotifyUrl should be an https URL. Maximum length: 250.","uniqueKey":"order_meta.notify_url","typeLabel":"string"},"payment_methods":{"example":"cc,dc,upi","description":"Allowed payment modes for this order. Pass comma-separated values among following options - \"cc\", \"dc\", \"ccc\", \"ppc\",\"nb\",\"upi\",\"paypal\",\"app\",\"paylater\",\"cardlessemi\",\"dcemi\",\"ccemi\",\"banktransfer\". Leave it blank to show all available payment methods","uniqueKey":"order_meta.payment_methods","typeLabel":"any"},"payment_methods_filters":{"description":"Allowed payment modes for this order. Along with multiple filters for cards can be added to this key. And this filtering will be honoured during transaction creation.","type":"object","properties":{"methods":{"description":"Allowed payment modes for this order. credit_card, debit_card, netbanking, paylater, etc are the values that can be passed to this parameter.","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those modes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.methods.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.methods.values.items.[INDEX]","typeLabel":"string"},"description":"The accepted entries for this paramter are \"debit_card, credit_card, prepaid_card, upi, wallet, netbanking, banktransfer, paylater, paypal, debit_card_emi, credit_card_emi, upi_credit_card, upi_ppi, cardless_emi, account_based_payment, corporate_credit_card, sbc_debit_card, sbc_emandate, sbc_upi, sbc_credit_card\"","uniqueKey":"order_meta.payment_methods_filters.methods.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.methods","typeLabel":"object"},"filters":{"description":"This object takes details of all the filtering that has to be done for this order. Filters on card bins, card schemes, card issuing bank and card suffixes","type":"object","properties":{"card_emi_tenure":{"description":"Allowed card emi tenure for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those bins present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"integer","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure.values.items.[INDEX]","typeLabel":"integer"},"description":"List of tenure to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure.values","typeLabel":"integer[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_tenure","typeLabel":"object"},"card_emi_bins":{"description":"Allowed card bins for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those bins present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins.values.items.[INDEX]","typeLabel":"string"},"description":"List of card bins to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_bins","typeLabel":"object"},"card_emi_schemes":{"description":"Allowed card schemes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those schemes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes.values.items.[INDEX]","typeLabel":"string"},"description":"List of card schemes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_schemes","typeLabel":"object"},"card_emi_suffix":{"description":"Allowed card suffixes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those suffixes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix.values.items.[INDEX]","typeLabel":"string"},"description":"List of card suffixes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_suffix","typeLabel":"object"},"card_emi_issuing_bank":{"description":"Allowed card issuing bank for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those issuing bank present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank.action","typeLabel":"string"},"values":{"items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank.values.items.[INDEX]","typeLabel":"string"},"type":"array","description":"List of card issuing bank to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_emi_issuing_bank","typeLabel":"object"},"card_bins":{"description":"Allowed card bins for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those bins present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_bins.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_bins.values.items.[INDEX]","typeLabel":"string"},"description":"List of card bins to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_bins.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_bins","typeLabel":"object"},"card_schemes":{"description":"Allowed card schemes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those schemes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes.values.items.[INDEX]","typeLabel":"string"},"description":"List of card schemes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_schemes","typeLabel":"object"},"card_suffix":{"description":"Allowed card suffixes for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those suffixes present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix.action","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix.values.items.[INDEX]","typeLabel":"string"},"description":"List of card suffixes to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_suffix","typeLabel":"object"},"card_issuing_bank":{"description":"Allowed card issuing bank for the order","type":"object","properties":{"action":{"type":"string","description":"It accepts value of \"ALLOW\" and allows only those issuing bank present in it's neighbouring parameter \"values\"","uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank.action","typeLabel":"string"},"values":{"items":{"type":"string","uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank.values.items.[INDEX]","typeLabel":"string"},"type":"array","description":"List of card issuing bank to be allowed for the order","uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank.values","typeLabel":"string[]"}},"uniqueKey":"order_meta.payment_methods_filters.filters.card_issuing_bank","typeLabel":"object"}},"uniqueKey":"order_meta.payment_methods_filters.filters","typeLabel":"object"}},"uniqueKey":"order_meta.payment_methods_filters","typeLabel":"object"}},"uniqueKey":"order_meta","typeLabel":"OrderMeta · object"},"order_tags":{"type":"object","maxProperties":15,"description":"Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added","additionalProperties":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"order_tags.additionalProperties","typeLabel":"string"},"example":{"product":"Laptop","shipping_address":"123 Main St"},"uniqueKey":"order_tags","typeLabel":"object"},"cart_details":{"title":"CartDetailsEntity","description":"Cart Details in the Order Entity Response","type":"object","properties":{"cart_id":{"type":"string","description":"ID of the cart that was created","uniqueKey":"cart_details.cart_id","typeLabel":"string"}},"uniqueKey":"cart_details","typeLabel":"CartDetailsEntity · object"},"terminal_data":{"description":"Terminal Data in the create order response","example":{"agent_mobile_number":"9876543214","cf_terminal_id":1838,"merchant_terminal_id":"ahdsgadjhgfaj7137e","terminal_type":"STOREFRONT"},"properties":{"agent_mobile_number":{"type":"string","uniqueKey":"terminal_data.agent_mobile_number","typeLabel":"string"},"cf_terminal_id":{"type":"integer","uniqueKey":"terminal_data.cf_terminal_id","typeLabel":"integer"},"merchant_terminal_id":{"type":"string","uniqueKey":"terminal_data.merchant_terminal_id","typeLabel":"string"},"terminal_type":{"type":"string","uniqueKey":"terminal_data.terminal_type","typeLabel":"string"}},"title":"TerminalData","type":"object","uniqueKey":"terminal_data","typeLabel":"TerminalData · object"},"products":{"type":"object","description":"Configurations for the products like One Click Checkout, Verify and Pay, if they are enabled for your account","properties":{"one_click_checkout":{"type":"object","description":"Configurations for this feature","properties":{"enabled":{"type":"boolean","description":"Whether the feature has been enabled for this order","uniqueKey":"products.one_click_checkout.enabled","typeLabel":"boolean"},"conditions":{"type":"array","description":"Configured condtions for the feature","items":{"type":"object","properties":{"action":{"type":"string","description":"The Action key in the conditions array specifies whether a condition is allowed or denied for the specified rule or feature","uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].action","typeLabel":"string"},"key":{"type":"string","description":"key of the condition","maxLength":50,"uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].key","typeLabel":"string"},"values":{"type":"array","description":"Values set for the condition","maxItems":10,"items":{"type":"string","uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"products.one_click_checkout.conditions.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"products.one_click_checkout.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"products.one_click_checkout.conditions","typeLabel":"object[]"}},"uniqueKey":"products.one_click_checkout","typeLabel":"object"},"verify_pay":{"type":"object","description":"Configurations for this feature","properties":{"enabled":{"type":"boolean","description":"Whether the feature has been enabled for this order","uniqueKey":"products.verify_pay.enabled","typeLabel":"boolean"},"conditions":{"type":"array","description":"Configured condtions for the feature","items":{"type":"object","properties":{"action":{"type":"string","description":"The Action key in the conditions array specifies whether a condition is allowed or denied for the specified rule or feature","uniqueKey":"products.verify_pay.conditions.items.[INDEX].action","typeLabel":"string"},"key":{"type":"string","description":"key of the condition","maxLength":50,"uniqueKey":"products.verify_pay.conditions.items.[INDEX].key","typeLabel":"string"},"values":{"type":"array","description":"Values set for the condition","maxItems":10,"items":{"type":"string","uniqueKey":"products.verify_pay.conditions.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"products.verify_pay.conditions.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"products.verify_pay.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"products.verify_pay.conditions","typeLabel":"object[]"}},"uniqueKey":"products.verify_pay","typeLabel":"object"}},"uniqueKey":"products","typeLabel":"object"}},"uniqueKey":"","typeLabel":"OrderEntity · object"},"examples":{"Example":{"title":"Example","value":{"$ref":"#/components/examples/order_entity_list_example/value/0"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"},"1aba2438-6974-45a4-bd15-d5c5c5ed60f7":{"description":"Bad request error","content":{"application/json":{"schema":{"title":"BadRequestError","description":"Invalid request received from client","example":{"message":"bad URL, please check API documentation","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"request_failed","type":"invalid_request_error"},"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"help":{"type":"string","uniqueKey":"help","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"BadRequestError · object"},"examples":{"Example":{"title":"Example","value":{"message":"bad URL, please check API documentation","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"request_failed","type":"invalid_request_error"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"},"eb1fb9e4-9e54-4a9a-a48a-fa40e822a0e9":{"description":"Authentication Error","content":{"application/json":{"schema":{"title":"AuthenticationError","description":"Error if api keys are wrong","example":{"message":"authentication Failed","code":"request_failed","type":"authentication_error"},"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","description":"authentication_error","uniqueKey":"type","typeLabel":"string"}},"uniqueKey":"","typeLabel":"AuthenticationError · object"},"examples":{"Example":{"title":"Example","value":{"message":"authentication Failed","code":"request_failed","type":"authentication_error"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"},"7b5ce8f8-9f70-450b-ae6b-84d248a57d82":{"description":"Resource Not found","content":{"application/json":{"schema":{"title":"ApiError404","description":"Error when resource requested is not found","example":{"message":"something is not found","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"somethind_not_found","type":"invalid_request_error"},"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"help":{"type":"string","uniqueKey":"help","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error"],"description":"invalid_request_error","uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"ApiError404 · object"},"examples":{"Example":{"title":"Example","value":{"message":"something is not found","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"somethind_not_found","type":"invalid_request_error"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"},"50e7b492-a65e-40ec-bc72-91bc2edce28d":{"description":"Resource already present","content":{"application/json":{"schema":{"title":"ApiError409","description":"duplicate request","example":{"message":"order with same id is already present","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"order_already_exists","type":"invalid_request_error"},"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"help":{"type":"string","uniqueKey":"help","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error"],"description":"invalid_request_error","uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"ApiError409 · object"},"examples":{"Example":{"title":"Example","value":{"message":"order with same id is already present","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"order_already_exists","type":"invalid_request_error"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"},"6458a3b1-c5fc-4f64-9df9-818cbbcaa759":{"description":"Idempotency error","content":{"application/json":{"schema":{"title":"IdempotencyError","description":"Error when idempotency fails. Different request body with the same idempotent key","example":{"message":"something is not found","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"request_invalid","type":"idempotency_error"},"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"help":{"type":"string","uniqueKey":"help","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["idempotency_error"],"description":"idempotency_error","uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"IdempotencyError · object"},"examples":{"Example":{"title":"Example","value":{"message":"something is not found","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"request_invalid","type":"idempotency_error"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"},"996c5c90-5def-4e88-b698-793f66ab42e2":{"description":"Rate Limit Error","content":{"application/json":{"schema":{"title":"RateLimitError","description":"Error when rate limit is breached for your api","example":{"message":"Too many requests from IP. Check headers","code":"request_failed","type":"rate_limit_error"},"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["rate_limit_error"],"description":"rate_limit_error","uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"RateLimitError · object"},"examples":{"Example":{"title":"Example","value":{"message":"Too many requests from IP. Check headers","code":"request_failed","type":"rate_limit_error"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"},"0ef90c16-bbd2-43ec-8427-8a7087201453":{"description":"API related Error","content":{"application/json":{"schema":{"title":"ApiError","description":"Error at cashfree's server","example":{"message":"internal Server Error","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"internal_error","type":"api_error"},"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"help":{"type":"string","uniqueKey":"help","typeLabel":"string"},"type":{"type":"string","enum":["api_error"],"description":"api_error","uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"ApiError · object"},"examples":{"Example":{"title":"Example","value":{"message":"internal Server Error","help":"Check latest errors and resolution from Merchant Dashboard API logs: https://bit.ly/4glEd0W Help Document: https://bit.ly/4eeZYO9","code":"internal_error","type":"api_error"}}},"exampleType":"generated"}},"headers":{"x-api-version":{"schema":{"type":"string","format":"YYYY-MM-DD","enum":["2025-01-01"]},"description":"This header has the version of the API. The current version is `2025-01-01`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"example":200,"description":"Ratelimit set for your account for this API per minute"},"x-ratelimit-remaining":{"schema":{"type":"integer"},"example":2,"description":"Rate limit remaning for your account for this API in the next minute. Uses sliding window"},"x-ratelimit-retry":{"schema":{"type":"integer"},"example":4,"description":"Contains number of seconds to wait if rate limit is breached\n- Is 0 if withing the limit\n- Is between 1 and 59 if breached\n"},"x-ratelimit-type":{"schema":{"type":"string","enum":["app_id","ip"]},"example":"ip","description":"either ip or app_id\n- `ip` if making a call from the browser. True for api where you don't need `x-client-id` and `x-client-secret`\n- `app_id` for authenticated api calls i.e using `x-client-id` and `x-client-secret`\n"},"x-request-id":{"schema":{"type":"string"},"example":"some-req-id","description":"Request id for your api call. Is blank or null if no `x-request-id` is sent during the request"},"x-idempotency-key":{"schema":{"type":"string"},"example":"some-idem-id","description":"An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions."},"x-idempotency-replayed":{"schema":{"type":"string","format":"boolean"},"example":"true","description":"In conjunction with `x-idempotency-key` this means\n- `true` if the response was replayed\n- `false` if the response has not been replayed"}},"exampleType":"generated"}},"security":{"dda959de-b363-4068-940c-ebd71e2aa7d9":{"XClientID":{"type":"apiKey","in":"header","name":"x-client-id","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]},"XClientSecret":{"type":"apiKey","in":"header","name":"x-client-secret","description":"Client secret key. You can find your secret in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]}},"792e7b14-1f73-45ae-9668-3c098ebd3fb2":{"XClientID":{"type":"apiKey","in":"header","name":"x-client-id","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]},"XPartnerAPIKey":{"type":"apiKey","in":"header","name":"x-partner-apikey","description":"If you are partner and you are making an api call on behalf of a merchant","scopes":[]}},"db56075e-b833-4178-a642-5160315b0dd0":{"XClientID":{"type":"apiKey","in":"header","name":"x-client-id","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]},"XClientSignatureHeader":{"type":"apiKey","in":"header","name":"x-client-signature","description":"Use this if you do not want to pass the secret key and instead want to use signature","scopes":[]}},"265d9110-3010-42af-a786-d50d400e9661":{"XPartnerMerchantID":{"type":"apiKey","in":"header","name":"x-partner-merchantid","description":"If you are partner use this to specify the merchant id if you don't have the merchant client app id","scopes":[]},"XPartnerAPIKey":{"type":"apiKey","in":"header","name":"x-partner-apikey","description":"If you are partner and you are making an api call on behalf of a merchant","scopes":[]}}},"servers":{"2bf43890-ba02-4aec-aac3-a972c09e7d44":{"url":"https://sandbox.cashfree.com/pg","description":"Sandbox server"},"256aa8d6-2c43-43f3-bd02-dd2c5e11e635":{"url":"https://api.cashfree.com/pg","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-client-id","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]},"schema":{"title":"x-client-id","type":"string","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XClientID","name":"x-client-id"},{"scheme":{"type":"apiKey","in":"header","name":"x-client-secret","description":"Client secret key. You can find your secret in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]},"schema":{"title":"x-client-secret","type":"string","description":"Client secret key. You can find your secret in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XClientSecret","name":"x-client-secret"}],"title":"XClientID \u0026 XClientSecret"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-client-id","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]},"schema":{"title":"x-client-id","type":"string","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XClientID","name":"x-client-id"},{"scheme":{"type":"apiKey","in":"header","name":"x-partner-apikey","description":"If you are partner and you are making an api call on behalf of a merchant","scopes":[]},"schema":{"title":"x-partner-apikey","type":"string","description":"If you are partner and you are making an api call on behalf of a merchant","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XPartnerAPIKey","name":"x-partner-apikey"}],"title":"XClientID \u0026 XPartnerAPIKey"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-client-id","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","scopes":[]},"schema":{"title":"x-client-id","type":"string","description":"Client app ID. You can find your app id in the [merchant dashboard](https://telr.cashfree.com/merchants/pg/developers/api-keys?env=prod).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XClientID","name":"x-client-id"},{"scheme":{"type":"apiKey","in":"header","name":"x-client-signature","description":"Use this if you do not want to pass the secret key and instead want to use signature","scopes":[]},"schema":{"title":"x-client-signature","type":"string","description":"Use this if you do not want to pass the secret key and instead want to use signature","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XClientSignatureHeader","name":"x-client-signature"}],"title":"XClientID \u0026 XClientSignatureHeader"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-partner-merchantid","description":"If you are partner use this to specify the merchant id if you don't have the merchant client app id","scopes":[]},"schema":{"title":"x-partner-merchantid","type":"string","description":"If you are partner use this to specify the merchant id if you don't have the merchant client app id","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XPartnerMerchantID","name":"x-partner-merchantid"},{"scheme":{"type":"apiKey","in":"header","name":"x-partner-apikey","description":"If you are partner and you are making an api call on behalf of a merchant","scopes":[]},"schema":{"title":"x-partner-apikey","type":"string","description":"If you are partner and you are making an api call on behalf of a merchant","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"XPartnerAPIKey","name":"x-partner-apikey"}],"title":"XPartnerMerchantID \u0026 XPartnerAPIKey"}]},"originalFileLocation":"openapi/payments/v2025-01-01.yaml"},"subdomain":"telr","siteName":"Telr Developer Documentation","title":"Telr Developer Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T08:43:55.445Z","originalFileLocation":"api-reference/payments/latest/orders/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"### Order An order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for. Use this API to create orders with Cashfree from your backend to get a payment_sessions_id. You can use the payment_sessions_id to create a transaction for the order.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Telr Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Telr Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Welcome to the Telr developer documentation. You will find help about Telr products and APIs that will help you start using our products quickly.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Telr Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://telr.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+Order\u0026amp;description=%23%23%23+Order%0AAn+order+is+an+entity+which+has+a+amount+and+currency+associated+with+it.+It+is+something+for+which+you+want+to+collect+payment+for.%0AUse+this+API+to+c\u0026amp;theme=e88f79f2755d6f795d89763f\u0026amp;signature=445dc73ccf3287bb03ea4e96d84dc6faaf57294952f138183da20e970c2c188d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Telr Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Welcome to the Telr developer documentation. You will find help about Telr products and APIs that will help you start using our products quickly.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://telr.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+Order\u0026amp;description=%23%23%23+Order%0AAn+order+is+an+entity+which+has+a+amount+and+currency+associated+with+it.+It+is+something+for+which+you+want+to+collect+payment+for.%0AUse+this+API+to+c\u0026amp;theme=e88f79f2755d6f795d89763f\u0026amp;signature=445dc73ccf3287bb03ea4e96d84dc6faaf57294952f138183da20e970c2c188d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/telr/JiXfTWYaV_zG4vhd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Telr Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006E4F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payments/latest/orders/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://telr-docs.cashfree.com/#organization\",\"name\":\"Telr Developer Documentation\",\"url\":\"https://telr-docs.cashfree.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/telr/0gWXSd3fXAm_cMMR/static/logo/Telr_Logo.png?fit=max\u0026auto=format\u0026n=0gWXSd3fXAm_cMMR\u0026q=85\u0026s=1eab94fcaa68dc82f3f3201b2a47e789\"}},{\"@type\":\"WebSite\",\"@id\":\"https://telr-docs.cashfree.com#website\",\"name\":\"Telr Developer Documentation\",\"url\":\"https://telr-docs.cashfree.com\",\"publisher\":{\"@id\":\"https://telr-docs.cashfree.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create#webpage\",\"url\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create\",\"name\":\"Create Order\",\"description\":\"### Order An order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for. Use this API to create orders with Cashfree from your backend to get a payment_sessions_id. You can use the payment_sessions_id to create a transaction for the order.\",\"dateModified\":\"2026-01-07T08:43:55.445Z\",\"isPartOf\":{\"@id\":\"https://telr-docs.cashfree.com#website\"},\"breadcrumb\":{\"@id\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"v2025-01-01\",\"item\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Order\",\"item\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create#apireference\",\"headline\":\"Create Order\",\"name\":\"Create Order\",\"description\":\"### Order An order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for. Use this API to create orders with Cashfree from your backend to get a payment_sessions_id. You can use the payment_sessions_id to create a transaction for the order.\",\"url\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create\",\"mainEntityOfPage\":{\"@id\":\"https://telr-docs.cashfree.com/api-reference/payments/latest/orders/create#webpage\"},\"dateModified\":\"2026-01-07T08:43:55.445Z\",\"publisher\":{\"@id\":\"https://telr-docs.cashfree.com/#organization\"},\"isPartOf\":{\"@id\":\"https://telr-docs.cashfree.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Telr Developer Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Telr Developer Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/payments/latest/orders/create.md","siteName":"Telr Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Payments","pages":[{"title":"Payments","href":"/payments/overview"}]},{"tab":"Payments APIs","groups":[{"group":"Payments API","pages":[{"title":"Get Started","sidebarTitle":"Get Started","href":"/api-reference/payments/overview"},{"title":"Payment SDK","sidebarTitle":"Payment SDK","href":"/api-reference/payments/sdk"},{"title":"API Limits","sidebarTitle":"API Limits","href":"/api-reference/payments/rate-limits"},{"title":"Enums","sidebarTitle":"Enums","href":"/api-reference/payments/enums"},{"title":"API Best Practices","sidebarTitle":"Best Practices","href":"/api-reference/payments/api-best-practices"},{"title":"Errors","sidebarTitle":"Errors","href":"/api-reference/payments/errors"}]},{"group":"v2025-01-01","pages":[{"title":"Overview","sidebarTitle":"Overview","description":"This is a beta release of our next API.","href":"/api-reference/payments/latest/overview"},{"group":"Orders","pages":[{"title":"Create Order","openapi":"openapi/payments/v2025-01-01.yaml post /orders","href":"/api-reference/payments/latest/orders/create"},{"title":"Get Order","openapi":"openapi/payments/v2025-01-01.yaml get /orders/{order_id}","description":"Use this API to fetch the order that was created at Cashfree's using the `order_id`. \n## When to use this API\n- To check the status of your order\n- Once the order is PAID\n- Once your customer returns to `return_url`\n","href":"/api-reference/payments/latest/orders/get"},{"title":"Terminate Order","openapi":"openapi/payments/v2025-01-01.yaml patch /orders/{order_id}","href":"/api-reference/payments/latest/orders/terminate"},{"title":"Get Order Extended","openapi":"openapi/payments/v2025-01-01.yaml get /orders/{order_id}/extended","href":"/api-reference/payments/latest/orders/get-order-extended"},{"title":"Update Order Extended","openapi":"openapi/payments/v2025-01-01.yaml put /orders/{order_id}/extended","href":"/api-reference/payments/latest/orders/update-order-extended"}]},{"group":"Payments","pages":[{"title":"Order Pay","openapi":"openapi/payments/v2025-01-01.yaml post /orders/sessions","href":"/api-reference/payments/latest/payments/pay"},{"title":"Submit or Resend OTP","openapi":"openapi/payments/v2025-01-01.yaml post /orders/pay/authenticate/{cf_payment_id}","href":"/api-reference/payments/latest/payments/authenticate"},{"title":"Preauthorization","openapi":"openapi/payments/v2025-01-01.yaml post /orders/{order_id}/authorization","href":"/api-reference/payments/latest/payments/authorize"},{"title":"Get Payment by ID","openapi":"openapi/payments/v2025-01-01.yaml get /orders/{order_id}/payments/{cf_payment_id}","href":"/api-reference/payments/latest/payments/get"},{"title":"Get Payments for an Order","openapi":"openapi/payments/v2025-01-01.yaml get /orders/{order_id}/payments","href":"/api-reference/payments/latest/payments/get-payments-for-order"},{"title":"Payment Webhooks","sidebarTitle":"Payment Webhooks","icon":"webhook","href":"/api-reference/payments/latest/payments/webhooks"}]},{"group":"Payment Links","pages":[{"openapi":"openapi/payments/v2025-01-01.yaml post /links","title":"Create Payment Link","href":"/api-reference/payments/latest/payment-links/create"},{"openapi":"openapi/payments/v2025-01-01.yaml get /links/{link_id}","title":"Fetch Payment Link Details","href":"/api-reference/payments/latest/payment-links/get"},{"openapi":"openapi/payments/v2025-01-01.yaml post /links/{link_id}/cancel","title":"Cancel Payment Link","href":"/api-reference/payments/latest/payment-links/cancel"},{"openapi":"openapi/payments/v2025-01-01.yaml get /links/{link_id}/orders","title":"Get Orders for a Payment Link","href":"/api-reference/payments/latest/payment-links/get-orders-for-link"},{"title":"Payment Link Webhooks","sidebarTitle":"Webhooks","icon":"webhook","href":"/api-reference/payments/latest/payment-links/webhooks"}]},{"group":"Refunds","pages":[{"openapi":"openapi/payments/v2025-01-01.yaml post /orders/{order_id}/refunds","title":"Create Refund","href":"/api-reference/payments/latest/refunds/create"},{"openapi":"openapi/payments/v2025-01-01.yaml get /orders/{order_id}/refunds/{refund_id}","title":"Get Refund","href":"/api-reference/payments/latest/refunds/get"},{"openapi":"openapi/payments/v2025-01-01.yaml get /orders/{order_id}/refunds","title":"Get All Refunds for an Order","href":"/api-reference/payments/latest/refunds/get-refunds-for-order"},{"title":"Refund Webhooks","sidebarTitle":"Webhooks","icon":"webhook","href":"/api-reference/payments/latest/refunds/webhooks"}]},{"group":"Customers","pages":[{"openapi":"openapi/payments/v2025-01-01.yaml post /customers","title":"Create Customer at Cashfree","href":"/api-reference/payments/latest/customers/create"}]},{"group":"Payment Methods","pages":[{"openapi":"openapi/payments/v2025-01-01.yaml post /eligibility/cardlessemi","title":"Get Eligible Cardless EMI Payment Methods for a customer on an order","href":"/api-reference/payments/latest/eligibility/get-eligible-cardless-emi-payment-methods-for-a-customer-on-an-order"},{"openapi":"openapi/payments/v2025-01-01.yaml post /eligibility/offers","title":"Get Eligible Offers for an Order","href":"/api-reference/payments/latest/eligibility/get-eligible-offers-for-an-order"},{"openapi":"openapi/payments/v2025-01-01.yaml post /eligibility/paylater","title":"Get Eligible Paylater for a customer on an order","href":"/api-reference/payments/latest/eligibility/get-eligible-paylater-for-a-customer-on-an-order"},{"openapi":"openapi/payments/v2025-01-01.yaml post /eligibility/payment_methods","title":"Get eligible Payment Methods","href":"/api-reference/payments/latest/eligibility/get-eligible-payment-methods"}]},{"group":"Offers","pages":[{"openapi":"openapi/payments/v2025-01-01.yaml post /offers","title":"Create Offer","href":"/api-reference/payments/latest/offers/create"},{"openapi":"openapi/payments/v2025-01-01.yaml get /offers/{offer_id}","title":"Get Offer by ID","href":"/api-reference/payments/latest/offers/get"}]},{"group":"Settlements","pages":[{"openapi":"openapi/payments/v2025-01-01.yaml post /settlements","title":"Get All Settlements","href":"/api-reference/payments/latest/settlements/get-settlements"},{"openapi":"openapi/payments/v2025-01-01.yaml get /orders/{order_id}/settlements","title":"Get Settlements by Order ID","href":"/api-reference/payments/latest/settlements/get-settlements-for-order"},{"openapi":"openapi/payments/v2025-01-01.yaml post /orders/settlements","title":"Mark Order For Settlement","href":"/api-reference/payments/latest/settlements/mark-order-for-settlement"},{"openapi":"openapi/payments/v2025-01-01.yaml post /recon","title":"PG Reconciliation","href":"/api-reference/payments/latest/settlements/reconcile"},{"title":"Settlement Reconciliation","openapi":"openapi/payments/v2025-01-01.yaml post /settlement/recon","href":"/api-reference/payments/latest/settlements/settlement-reconciliation"},{"title":"Settlement Webhooks","sidebarTitle":"Settlement Webhooks","icon":"webhook","href":"/api-reference/payments/latest/settlements/settlement-webhooks"}]},{"group":"Simulation","pages":[{"openapi":"openapi/payments/v2025-01-01.yaml post /simulate","title":"Simulate Payment","href":"/api-reference/payments/latest/simulation/simulate-payment"},{"openapi":"openapi/payments/v2025-01-01.yaml get /simulate/{simulation_id}","title":"Fetch Simulation","href":"/api-reference/payments/latest/simulation/fetch-simulation"}]},{"group":"Utilities","pages":[{"openapi":"post /utilities/cardbin","title":"Get Card BIN Details","href":"/api-reference/payments/latest/utilities/get-card-bin"},{"title":"Incident Service Webhook","icon":"webhook","sidebarTitle":"Incident Webhooks","href":"/api-reference/payments/latest/utilities/incident-webhook"}]}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"Help Center","pages":[{"title":"Help Center","href":"/help/overview"}]}]},"basePath":"","title":"Telr Developer Documentation","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}