B2B API Specification

Version 3.2.26

production
sandbox

Settings

The Checkout Settings endpoint provides merchants with a comprehensive framework for managing the fallback configuration and post-payment behavior of their hosted payment pages. This configuration allows integrators to specify user-required fields, and set up redirection URLs for both approved and declined payments. Additionally, it identifies the secure HTTPS endpoint for background notification posts and defines the preferred return method to transition from the payment gateway back to the merchant's site.

Create checkout setting

post /v3/checkout/setting
Parameters
X-Integrator-Id
Type
string
Maximum Length
12

Loading...

X-Permalinks
Type
string
Maximum Length
4

Loading...

Request Schema
silent_post
Type
string
Range
1 to 2083 characters
Example
https://example.com/payment-response

Loading...

terms_conditions_link required
Type
string
Range
1 to 2083 characters
Example
http://example.com/terms-redirect-link

Loading...

payment_approved_link
Type
string
Range
1 to 2083 characters
Example
http://example.com/payment-approved-link

Loading...

payment_declined_link
Type
string
Range
1 to 2083 characters
Example
http://example.com/payment-declined-link

Loading...

return_method
Type
string
Default
HYPERLINK
Enum
HYPERLINK

Loading...

email_required
Type
boolean
Example
true

Loading...

billing_address_required
Type
boolean
Example
true

Loading...

csc_required
Type
boolean
Example
true

Loading...

merchant_id required
Type
integer
Example
12345

Loading...

invoice_expiration_days required
Type
integer
Enum
1430
Example
14

Loading...

Example Request
{
  "silent_post": "https://example.com/payment-response",
  "terms_conditions_link": "http://example.com/terms-redirect-link",
  "payment_approved_link": "http://example.com/payment-approved-link",
  "payment_declined_link": "http://example.com/payment-declined-link",
  "return_method": "HYPERLINK",
  "email_required": true,
  "billing_address_required": true,
  "csc_required": true,
  "merchant_id": 12345,
  "invoice_expiration_days": 14
}
Example Response
201 Successful Response
422 Validation Error

Get checkout setting

get /v3/checkout/setting/{setting_id}
Parameters
setting_id required
Type
integer

Loading...

merchant_id required
Type
integer
Example
246810

Loading...

X-Integrator-Id
Type
string
Maximum Length
12

Loading...

X-Permalinks
Type
string
Maximum Length
4

Loading...

Example Response
200 Successful Response
422 Validation Error

Update checkout setting

put /v3/checkout/setting/{setting_id}
Parameters
setting_id required
Type
integer

Loading...

X-Integrator-Id
Type
string
Maximum Length
12

Loading...

X-Permalinks
Type
string
Maximum Length
4

Loading...

Request Schema
silent_post
Type
string
Range
1 to 2083 characters
Example
https://example.com/payment-response

Loading...

terms_conditions_link required
Type
string
Range
1 to 2083 characters
Example
http://example.com/terms-redirect-link

Loading...

payment_approved_link
Type
string
Range
1 to 2083 characters
Example
http://example.com/payment-approved-link

Loading...

payment_declined_link
Type
string
Range
1 to 2083 characters
Example
http://example.com/payment-declined-link

Loading...

return_method
Type
string
Default
HYPERLINK
Enum
HYPERLINK

Loading...

email_required
Type
boolean
Example
true

Loading...

billing_address_required
Type
boolean
Example
true

Loading...

csc_required
Type
boolean
Example
true

Loading...

merchant_id required
Type
integer
Example
12345

Loading...

invoice_expiration_days required
Type
integer
Enum
1430
Example
14

Loading...

Example Request
{
  "silent_post": "https://example.com/payment-response",
  "terms_conditions_link": "http://example.com/terms-redirect-link",
  "payment_approved_link": "http://example.com/payment-approved-link",
  "payment_declined_link": "http://example.com/payment-declined-link",
  "return_method": "HYPERLINK",
  "email_required": true,
  "billing_address_required": true,
  "csc_required": true,
  "merchant_id": 12345,
  "invoice_expiration_days": 14
}
Example Response
200 Successful Response
422 Validation Error

Delete checkout setting

delete /v3/checkout/setting/{setting_id}
Parameters
setting_id required
Type
integer

Loading...

merchant_id required
Type
integer
Example
246810

Loading...

X-Integrator-Id
Type
string
Maximum Length
12

Loading...

X-Permalinks
Type
string
Maximum Length
4

Loading...

Example Response
200 Successful Response
422 Validation Error

Contact Us

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.