Resources used by the merchant front office to build a payment page and get authorization status.
Create a client session
| entity_id required | string <uuid> ID of the entity that is using the orchestration API. This ID is provided by Purse. |
| amount required | integer >= 0 Example: "4299" Amount to be payed in currency minor unit.
For example, 4299 is 42.99 EUR.
Can only be set to 0 (zero) if |
| currency required | string (Currency) Enum: "CHF" "EUR" "GBP" "JPY" "USD" Example: "EUR" ISO 4217 currency code |
| capture_mode | string (CaptureMode) Default: "MANUAL" Enum: "MANUAL" "AUTOMATIC" Example: "MANUAL" Capture mode for the payment.
|
| capture_delay | string <duration> (CaptureDelay) Example: "PT24H" ISO-8601 duration to wait before the automatic capture is triggered.
Only meaningful when |
| integration_mode | string (IntegrationMode) Default: "EMBEDDED" Enum: "EMBEDDED" "HOSTED_PAGE" Example: "HOSTED_PAGE" Integration mode for the payment.
|
| shopper_redirection_url required | string <uri> Example: "https://www.example.org/payment-callback?order_id=123456789" URL to which the shopper will be redirected after the payment process. Redirection will use HTTP GET |
required | object (Order) Information regarding the order and the items to be purchased. |
object (Customer) Information regarding the customer purchasing the order. | |
object (PaymentThreeDsAuthenticationOptions) Options for 3DS authentication. | |
object (Webhook) If provided, merchant will receive webhook requests on the provided URL after each change in the client session status. | |
| allow_future_usage | boolean Default value is |
object (AlreadyPaid) Information about amounts already paid (e.g. deposits). |
{- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "customer": {
- "reference": "2090000000000",
- "type": "PERSON",
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "birth_date": "1995-08-25",
- "ip_address": "203.0.113.195",
- "locale": "fr-FR",
- "account": {
- "creation_date_time": "2017-06-15T15:30:00+02:00",
- "update_date_time": "2023-02-20T20:54:00+01:00",
- "password_update_date_time": "2023-02-20T20:54:00+01:00",
- "purchase_count_last_day": 0,
- "purchase_count_last_six_months": 3,
- "purchase_count_last_year": 8,
- "authentication_method": "MERCHANT_CREDENTIALS",
- "authentication_date_time": "2023-10-30T15:33:00+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "purchase_total_amount": 12000,
- "first_purchase_date_time": "2023-10-30T15:33:00+02:00",
- "prior_purchase_date_time": "2024-12-30T15:33:00+02:00"
}
}, - "order": {
- "reference": "123456789",
- "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
- "categories": [
- "Clothing"
]
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0,
- "categories": [
- "Shipping"
]
}
]
}
], - "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#69-ACME",
- "total_sales_count": 10000,
- "total_sales_amount": 12000,
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2025-01-01T00:00:00+01:00"
}
]
}, - "three_ds_authentication_options": {
- "challenge_indicator": "NO_CHALLENGE_REQUESTED"
}, - "webhook": {
- "headers": [
- {
- "name": "x-order-id",
- "values": [
- "123456789"
]
}
]
}, - "allow_future_usage": false
}{- "id": "9753ec77-fc16-4886-92af-c7dcf9b7352d",
- "status": "CREATED",
- "amount": 12000,
- "currency": "EUR",
- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "capture_mode": "MANUAL",
- "integration_mode": "EMBEDDED",
- "allow_future_usage": false,
- "order": {
- "reference": "123456789",
- "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0
}
]
}
]
}, - "expires_at": "2024-08-25T10:42:59.123+02:00",
- "widget": {
- "data": "w9R5pLx2E7fqA3B1cV8z0YeL",
}, - "eligible_solutions": [
- {
- "partner": "illicado",
- "method": "giftcard"
}, - {
- "partner": "dalenys",
- "method": "creditcard"
}, - {
- "partner": "paypal",
- "method": "wallet"
}, - {
- "partner": "oney",
- "method": "cb3x"
}
], - "links": {
- "self": {
- "href": "/v2/client-sessions/9753ec77-fc16-4886-92af-c7dcf9b7352d",
- "method": "GET"
}
}
}Get a client session by ID
| id required | string <uuid> Example: e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1 Client session ID |
{- "id": "9753ec77-fc16-4886-92af-c7dcf9b7352d",
- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "integration_mode": "EMBEDDED",
- "order": {
- "reference": "123456789",
- "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0
}
]
}
]
}, - "status": "SUBMITTED",
- "expires_at": "2024-08-25T10:42:59.123+02:00",
- "widget": {
- "data": "w9R5pLx2E7fqA3B1cV8z0YeL",
}, - "payment_id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "eligible_solutions": [
- {
- "partner": "illicado",
- "method": "giftcard"
}, - {
- "partner": "dalenys",
- "method": "creditcard"
}, - {
- "partner": "paypal",
- "method": "wallet"
}, - {
- "partner": "oney",
- "method": "cb3x"
}
], - "links": {
- "self": {
- "href": "/v2/client-sessions/9753ec77-fc16-4886-92af-c7dcf9b7352d",
- "method": "GET"
}, - "abort": {
- "href": "/v2/client-sessions/9753ec77-fc16-4886-92af-c7dcf9b7352d/abort",
- "method": "POST"
}, - "payment": {
- "href": "/v2/payments/e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "method": "GET"
}
}
}Abort a client session by ID
| id required | string <uuid> Example: e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1 ID of the client session to abort |
| status required | string Enum: "ABORTED_BY_CUSTOMER" "ABORTED_BY_MERCHANT" |
{- "status": "ABORTED_BY_MERCHANT"
}{- "id": "9753ec77-fc16-4886-92af-c7dcf9b7352d",
- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "integration_mode": "EMBEDDED",
- "status": "ABORTED_BY_MERCHANT",
- "expires_at": "2024-08-25T10:42:59.123+02:00",
- "order": {
- "reference": "123456789",
- "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0
}
]
}
]
}, - "widget": {
- "data": "w9R5pLx2E7fqA3B1cV8z0YeL",
}, - "payment_id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "eligible_solutions": [
- {
- "partner": "illicado",
- "method": "giftcard"
}, - {
- "partner": "dalenys",
- "method": "creditcard"
}, - {
- "partner": "paypal",
- "method": "wallet"
}, - {
- "partner": "oney",
- "method": "cb3x"
}
], - "links": {
- "self": {
- "href": "/v2/client-sessions/9753ec77-fc16-4886-92af-c7dcf9b7352d",
- "method": "GET"
}
}
}Create a new payment
| amount required | integer Example: "4299" Amount to be payed in currency minor unit. For example, 4299 is 42.99 EUR |
| currency required | string (Currency) Enum: "CHF" "EUR" "GBP" "JPY" "USD" Example: "EUR" ISO 4217 currency code |
| entity_id required | string <uuid> ID of the entity that is using the orchestration API. This ID is provided by Purse. |
| shopper_redirection_url | string <uri> Example: "https://www.example.org/payment-callback?order_id=123456789" URL to which the shopper will be redirected after the payment process. Redirection will use HTTP GET |
| capture_mode | string (CaptureMode) Default: "MANUAL" Enum: "MANUAL" "AUTOMATIC" Example: "MANUAL" Capture mode for the payment.
|
| capture_delay | string <duration> (CaptureDelay) Example: "PT24H" ISO-8601 duration to wait before the automatic capture is triggered.
Only meaningful when |
required | object (Order) Information regarding the order and the items to be purchased. |
object (Customer) Information regarding the customer purchasing the order. | |
object (Webhook) If provided, merchant will receive webhook requests on the provided URL after each change in the client session status. | |
object (Browser) Browser information which should be collected by the partner front component. | |
| allow_future_usage | boolean Default value is |
Array of DuplicateAuthorizationCandidate (object) or (DuplicateForeignAuthorizationCandidate (DuplicateForeignAuthorizationCandidate (object) or DuplicateForeignAuthorizationCandidate (object))) or NewAuthorizationCandidate (object) How payment was split over payment partners. | |
object (AlreadyPaid) Information about amounts already paid (e.g. deposits). |
{- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "order": {
- "reference": "123456789",
- "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0
}
]
}
]
}, - "customer": {
- "reference": "2090000000000",
- "type": "PERSON",
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "birth_date": "1995-08-25",
- "ip_address": "203.0.113.195",
- "locale": "fr-FR",
- "account": {
- "creation_date_time": "2017-06-15T15:30:00+02:00",
- "update_date_time": "2023-02-20T20:54:00+01:00",
- "password_update_date_time": "2023-02-20T20:54:00+01:00",
- "purchase_count_last_day": 0,
- "purchase_count_last_six_months": 3,
- "purchase_count_last_year": 8,
- "authentication_method": "MERCHANT_CREDENTIALS",
- "authentication_date_time": "2023-10-30T15:33:00+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS"
}
}, - "browser": {
- "user_agent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0",
- "accept_header": "text/html",
- "color_depth": 32,
- "java_enabled": true,
- "javascript_enabled": true,
- "locale": "fra",
- "screen_height": 1200,
- "screen_width": 1600,
- "utc_time_zone": 60
}, - "split": [
- {
- "amount": 3299,
- "parent_payment_id": "a1b2c3d4-abcd-1234-a1b2-123456abcdef"
}, - {
- "amount": 1000,
- "method": "giftcard",
- "partner": "illicado"
}
]
}{- "id": "9a14962c-bdcf-49d1-8673-e75dfb48013f",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "version": 7,
- "entity_id": "89a237d0-20f9-438e-b46c-3993c46b7bbe",
- "amount": 4299,
- "currency": "EUR",
- "allow_future_usage": false,
- "client_session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "order_reference": "order_01",
- "order": {
- "reference": "123456789",
- "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0
}
]
}
]
}, - "capture_mode": "MANUAL",
- "amounts": {
- "authorize_pending": 0,
- "total_authorized": 4299,
- "total_voided": 0,
- "available_to_void": 1299,
- "total_captured": 3000,
- "available_to_capture": 1299,
- "total_refunded": 0,
- "available_to_refund": 3000
}, - "overview": {
- "consumed": "PARTIALLY",
- "captured": "PARTIALLY",
- "voided": "NOT",
- "refunded": "NOT"
}, - "browser": {
- "user_agent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0",
- "accept_header": "text/html",
- "color_depth": 32,
- "java_enabled": true,
- "javascript_enabled": true,
- "locale": "fra",
- "screen_height": 1200,
- "screen_width": 1600,
- "utc_time_zone": 60
}, - "split": [
- {
- "partner": "easy2play",
- "method": "giftcard",
- "amount": 2000
}, - {
- "partner": "dalenys",
- "method": "creditcard",
- "amount": 2299
}
], - "authorization": {
- "status": "AUTHORIZED",
- "partner_transactions": [
- {
- "id": "1a14962c-bdcf-49d1-8673-e75dfb48013f",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "AUTHORIZED",
- "amount": 2000,
- "partner": "easy2play",
- "method": "giftcard",
- "partner_reference": "6898f79aa20af",
- "partner_status": "1",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED"
}, - {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "AUTHORIZED",
- "amount": 2299,
- "partner": "dalenys",
- "method": "creditcard",
- "card": {
- "bin": "513842",
- "type": "CARTE_BANCAIRE",
- "last_four_digits": "1234",
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "country_code": "FR",
- "fingerprint": "mG/7oNfgy7dPj8/jhP5Ynr9u1U=",
- "selected_network": "VISA",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "29828842-14c9-46bc-838b-adda7460c305"
}
}, - "partner_reference": "A4232036332",
- "partner_status": "0000",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED",
- "save_token": true,
- "token_saved": true
}
]
}, - "captures": [
- {
- "id": "1a14962c-bdcf-49d1-8673-e75dfb48013f",
- "amount": 3000,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "4a14962c-bdcf-49d1-8673-e75dfb48013f",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "SUCCESS",
- "amount": 2000,
- "partner": "easy2play",
- "method": "giftcard",
- "partner_reference": "9898f79aa20rt",
- "partner_status": "1",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED"
}, - {
- "id": "28267b24-4def-4440-b7a4-5ee0f145c56d",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "SUCCESS",
- "amount": 1000,
- "partner": "dalenys",
- "method": "creditcard",
- "partner_reference": "C5232036332",
- "partner_status": "0000",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED"
}
]
}
], - "voids": [ ],
- "refunds": [ ],
- "links": {
- "self": {
- "href": "/v2/payment/9a14962c-bdcf-49d1-8673-e75dfb48013f",
- "method": "GET"
}, - "capture": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/captures",
- "method": "POST"
}, - "refund": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/refunds",
- "method": "POST"
}, - "void": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/voids",
- "method": "POST"
}
}
}Get a payment by ID
| id required | string <uuid> Example: e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1 Payment ID |
| Cache-Control | string Example: max-age=3600 if max-age directive is specified, the payment data won't be fetched from the partners |
{- "id": "9a14962c-bdcf-49d1-8673-e75dfb48013f",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "version": 7,
- "entity_id": "89a237d0-20f9-438e-b46c-3993c46b7bbe",
- "amount": 4299,
- "currency": "EUR",
- "allow_future_usage": false,
- "client_session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "order_reference": "order_01",
- "order": {
- "reference": "123456789",
- "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0
}
]
}
]
}, - "capture_mode": "MANUAL",
- "amounts": {
- "authorize_pending": 0,
- "total_authorized": 4299,
- "total_voided": 0,
- "available_to_void": 1299,
- "total_captured": 3000,
- "available_to_capture": 1299,
- "total_refunded": 0,
- "available_to_refund": 3000
}, - "overview": {
- "consumed": "PARTIALLY",
- "captured": "PARTIALLY",
- "voided": "NOT",
- "refunded": "NOT"
}, - "browser": {
- "user_agent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0",
- "accept_header": "text/html",
- "color_depth": 32,
- "java_enabled": true,
- "javascript_enabled": true,
- "locale": "fra",
- "screen_height": 1200,
- "screen_width": 1600,
- "utc_time_zone": 60
}, - "split": [
- {
- "partner": "easy2play",
- "method": "giftcard",
- "amount": 2000
}, - {
- "partner": "dalenys",
- "method": "creditcard",
- "amount": 2299
}
], - "authorization": {
- "status": "AUTHORIZED",
- "partner_transactions": [
- {
- "id": "1a14962c-bdcf-49d1-8673-e75dfb48013f",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "AUTHORIZED",
- "amount": 2000,
- "partner": "easy2play",
- "method": "giftcard",
- "partner_reference": "6898f79aa20af",
- "partner_status": "1",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED"
}, - {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "AUTHORIZED",
- "amount": 2299,
- "partner": "dalenys",
- "method": "creditcard",
- "card": {
- "bin": "513842",
- "type": "CARTE_BANCAIRE",
- "last_four_digits": "1234",
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "country_code": "FR",
- "fingerprint": "mG/7oNfgy7dPj8/jhP5Ynr9u1U=",
- "selected_network": "VISA",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "29828842-14c9-46bc-838b-adda7460c305"
}
}, - "partner_reference": "A4232036332",
- "partner_status": "0000",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED"
}
]
}, - "captures": [
- {
- "id": "1a14962c-bdcf-49d1-8673-e75dfb48013f",
- "amount": 3000,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "4a14962c-bdcf-49d1-8673-e75dfb48013f",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "SUCCESS",
- "amount": 2000,
- "partner": "easy2play",
- "method": "giftcard",
- "partner_reference": "9898f79aa20rt",
- "partner_status": "1",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED"
}, - {
- "id": "28267b24-4def-4440-b7a4-5ee0f145c56d",
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "status": "SUCCESS",
- "amount": 1000,
- "partner": "dalenys",
- "method": "creditcard",
- "partner_reference": "C5232036332",
- "partner_status": "0000",
- "partner_status_description": "Successful operation",
- "status_code": "SUCCEEDED"
}
]
}
], - "voids": [ ],
- "refunds": [ ],
- "links": {
- "self": {
- "href": "/v2/payment/9a14962c-bdcf-49d1-8673-e75dfb48013f",
- "method": "GET"
}, - "capture": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/captures",
- "method": "POST"
}, - "refund": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/refunds",
- "method": "POST"
}, - "void": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/voids",
- "method": "POST"
}
}
}Capture a payment
| id required | string <uuid> Example: e3a6516b-0ec4-4a5b-92b0-7bb9693e81c0 |
| amount required | integer > 0 Example: "10" Amount to be processed for the called operation. |
object (PaymentOperationOrder) Information regarding the order and the items to be purchased. This object is only valued for payment operations. | |
| merchant_reference | string Example: "CAP#1223445" Reference of the operation in the merchant system. |
{- "amount": 10,
- "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": "string",
- "name": "string",
- "address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- null
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "category": "string",
- "check_in_date": "2025-08-25",
- "check_out_date": "2025-08-26",
- "number_of_nights": 1,
- "number_of_rooms": 1,
- "room_type": "string",
- "guests": {
- "adult_count": 0,
- "child_count": 0,
- "infant_count": 0,
- "pet_count": 0
}
}
]
}
]
}
], - "additional_data": { }
}, - "merchant_reference": "CAP#1223445"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "overview": {
- "consumed": "NOT",
- "captured": "NOT",
- "voided": "NOT",
- "refunded": "NOT"
}, - "client_session_id": "083e320e-e2e2-4a94-b5e1-abc028b960ab",
- "payment_link_id": "b299d88a-1d8a-4d54-8352-aa90479aab46",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "version": 3,
- "order_reference": "order_01",
- "order": {
- "reference": "order_01",
- "net_amount": 4299,
- "discount_amount": 500,
- "tax_amount": 3582,
- "shipments": [
- {
- "net_amount": 4299,
- "delivery_type": "USER_DELIVERY",
- "delivery_quickness": "EXPRESS",
- "delivery_method_reference": "DHL",
- "estimated_delivery_date_time": "2020-08-25T10:42:59+02:00",
- "shipping_address": {
- "company_name": "ACME",
- "gender": "MALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "Parker",
- "address_lines": [
- "1st Street"
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538",
- "delivery_point_name": "Le Trop Quai."
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": "string",
- "name": "string",
- "address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- null
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "category": "string",
- "check_in_date": "2025-08-25",
- "check_out_date": "2025-08-26",
- "number_of_nights": 1,
- "number_of_rooms": 1,
- "room_type": "string",
- "guests": {
- "adult_count": 0,
- "child_count": 0,
- "infant_count": 0,
- "pet_count": 0
}
}
]
}
]
}
], - "billing_address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- "1st Street"
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "discounts": [
- {
- "net_amount": 0,
- "tax_amount": 0,
- "coupon_code": "BLACK_FRIDAY",
- "seller_reference": "SELLER_01"
}
], - "additional_data": { },
- "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#42-ACME",
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2020-01-01T00:00:00+01:00",
- "total_sales_count": 10000,
- "total_sales_amount": 12000
}
]
}, - "customer": {
- "reference": "customer_01",
- "type": "PERSON",
- "company_identifier": "12345678900012",
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "national_identifier": "MX-1234567890",
- "birth_date": "1980-01-01",
- "ip_address": "45.15.207.98",
- "locale": "en-US",
- "account": {
- "creation_date_time": "2020-08-25T10:42:59+02:00",
- "update_date_time": "2020-08-25T10:42:59+02:00",
- "password_update_date_time": "2020-08-25T10:42:59+02:00",
- "purchase_count_last_day": 3,
- "purchase_count_last_six_months": 5,
- "purchase_count_last_year": 15,
- "different_card_count_last_day": 3,
- "authentication_method": "GUEST",
- "authentication_date_time": "2020-08-25T10:42:59+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "trust_indicator": "GOOD",
- "purchase_total_amount": 125000,
- "first_purchase_date_time": "2020-08-25T10:42:59+02:00",
- "prior_purchase_date_time": "2025-08-25T10:42:59+02:00"
}
}, - "amount": 4299,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "capture_delay": "PT24H",
- "captures": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "voids": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "refunds": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "authorization": {
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "AUTHORIZED",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "AUTHORIZED",
- "card": {
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "selected_network": "VISA",
- "bin": "513842",
- "last_four_digits": "1234",
- "type": "VISA_DEBIT",
- "country_code": "FR",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "cavv": "OTkxOTA4MDkxNjMzMTYwNTUwMzY=",
- "cavv_algorithm": "string",
- "directory_response": "string",
- "authentication_response": "string",
- "trans_status_reason": "string",
- "card_holder_info": "string"
}, - "fingerprint": "F-coGuJQ55tUk8CnKGI9PX1T"
}, - "parent_partner_reference": "AE0002ZCF7652QFF",
- "partner_additional_data": {
- "opc": "3x002"
}, - "save_token": true,
- "token_saved": true,
- "wallet_token": "1339f5a6-902b-4d2b-8b01-708caebeb76b"
}
]
}, - "authentication": {
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "CREATED",
- "partner_authentications": [
- {
- "id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "CREATED",
- "amount": 1000,
- "partner_status": "AUTHENTICATED",
- "partner_status_description": "Successful authentication",
- "card": {
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "selected_network": "VISA",
- "bin": "513842",
- "last_four_digits": "1234",
- "type": "VISA_DEBIT",
- "country_code": "FR",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "cavv": "OTkxOTA4MDkxNjMzMTYwNTUwMzY=",
- "cavv_algorithm": "string",
- "directory_response": "string",
- "authentication_response": "string",
- "trans_status_reason": "string",
- "card_holder_info": "string"
}, - "fingerprint": "F-coGuJQ55tUk8CnKGI9PX1T"
}
}
]
}, - "amounts": {
- "authorize_pending": 0,
- "total_authorized": 4299,
- "total_voided": 299,
- "available_to_void": 1000,
- "total_captured": 3000,
- "available_to_capture": 1000,
- "total_refunded": 0,
- "available_to_refund": 3000
}, - "links": {
- "self": {
- "href": "/v2/client-sessions/9a14962c-bdcf-49d1-8673-e75dfb48013f",
- "method": "GET"
}, - "capture": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/captures",
- "method": "POST"
}, - "refund": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/refunds",
- "method": "POST"
}, - "void": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/voids",
- "method": "POST"
}, - "payment_link": {
- "href": "/v2/payment-links/03e0833d-ca1c-4ea6-8af1-23b5a96ae288",
- "method": "GET"
}
}, - "browser": {
- "accept_header": "text/html",
- "user_agent": "Mozilla/4.0 (MSIE 6.0; Windows NT 5.0)",
- "color_depth": 32,
- "java_enabled": true,
- "javascript_enabled": true,
- "locale": "en-GB",
- "screen_height": 1200,
- "screen_width": 1600,
- "utc_time_zone": 60
}, - "split": [
- {
- "partner": "ingenico",
- "method": "creditcard",
- "amount": 4299,
- "parent_partner_transaction_id": "1a2b3c4d-1a2b-abcd-1234-123456789abc",
- "parent_payment_id": "9399c938-80e1-11ef-9de7-327d4a6ae82c",
- "parent_partner_token": "64837-39372-32188",
- "parent_partner_reference": "string"
}
], - "webhook": {
- "headers": [
- {
- "name": "x-order-id",
- "values": [
- "123456789"
]
}
], - "event_types": [
- "PAYMENT_CAPTURE",
- "PAYMENT_REFUND",
- "PAYMENT_VOID"
]
}, - "allow_future_usage": true,
- "already_paid": {
- "net_amount": 20000,
- "details": [
- {
- "type": "DEPOSIT",
- "name": "Acompte",
- "net_amount": 10000
}
]
}, - "redirection": {
- "method": "GET",
- "media_type": "application/json",
- "body": "{\"data\": \"json data to be used for redirection\"}"
}
}Refund a payment
| id required | string <uuid> Example: e3a6516b-0ec4-4a5b-92b0-7bb9693e81c0 |
| amount required | integer > 0 Example: "10" Amount to be processed for the called operation. |
object (PaymentOperationOrder) Information regarding the order and the items to be purchased. This object is only valued for payment operations. | |
| merchant_reference | string Example: "CAP#1223445" Reference of the operation in the merchant system. |
{- "amount": 10,
- "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": "string",
- "name": "string",
- "address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- null
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "category": "string",
- "check_in_date": "2025-08-25",
- "check_out_date": "2025-08-26",
- "number_of_nights": 1,
- "number_of_rooms": 1,
- "room_type": "string",
- "guests": {
- "adult_count": 0,
- "child_count": 0,
- "infant_count": 0,
- "pet_count": 0
}
}
]
}
]
}
], - "additional_data": { }
}, - "merchant_reference": "CAP#1223445"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "overview": {
- "consumed": "NOT",
- "captured": "NOT",
- "voided": "NOT",
- "refunded": "NOT"
}, - "client_session_id": "083e320e-e2e2-4a94-b5e1-abc028b960ab",
- "payment_link_id": "b299d88a-1d8a-4d54-8352-aa90479aab46",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "version": 3,
- "order_reference": "order_01",
- "order": {
- "reference": "order_01",
- "net_amount": 4299,
- "discount_amount": 500,
- "tax_amount": 3582,
- "shipments": [
- {
- "net_amount": 4299,
- "delivery_type": "USER_DELIVERY",
- "delivery_quickness": "EXPRESS",
- "delivery_method_reference": "DHL",
- "estimated_delivery_date_time": "2020-08-25T10:42:59+02:00",
- "shipping_address": {
- "company_name": "ACME",
- "gender": "MALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "Parker",
- "address_lines": [
- "1st Street"
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538",
- "delivery_point_name": "Le Trop Quai."
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": "string",
- "name": "string",
- "address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- null
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "category": "string",
- "check_in_date": "2025-08-25",
- "check_out_date": "2025-08-26",
- "number_of_nights": 1,
- "number_of_rooms": 1,
- "room_type": "string",
- "guests": {
- "adult_count": 0,
- "child_count": 0,
- "infant_count": 0,
- "pet_count": 0
}
}
]
}
]
}
], - "billing_address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- "1st Street"
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "discounts": [
- {
- "net_amount": 0,
- "tax_amount": 0,
- "coupon_code": "BLACK_FRIDAY",
- "seller_reference": "SELLER_01"
}
], - "additional_data": { },
- "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#42-ACME",
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2020-01-01T00:00:00+01:00",
- "total_sales_count": 10000,
- "total_sales_amount": 12000
}
]
}, - "customer": {
- "reference": "customer_01",
- "type": "PERSON",
- "company_identifier": "12345678900012",
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "national_identifier": "MX-1234567890",
- "birth_date": "1980-01-01",
- "ip_address": "45.15.207.98",
- "locale": "en-US",
- "account": {
- "creation_date_time": "2020-08-25T10:42:59+02:00",
- "update_date_time": "2020-08-25T10:42:59+02:00",
- "password_update_date_time": "2020-08-25T10:42:59+02:00",
- "purchase_count_last_day": 3,
- "purchase_count_last_six_months": 5,
- "purchase_count_last_year": 15,
- "different_card_count_last_day": 3,
- "authentication_method": "GUEST",
- "authentication_date_time": "2020-08-25T10:42:59+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "trust_indicator": "GOOD",
- "purchase_total_amount": 125000,
- "first_purchase_date_time": "2020-08-25T10:42:59+02:00",
- "prior_purchase_date_time": "2025-08-25T10:42:59+02:00"
}
}, - "amount": 4299,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "capture_delay": "PT24H",
- "captures": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "voids": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "refunds": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "authorization": {
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "AUTHORIZED",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "AUTHORIZED",
- "card": {
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "selected_network": "VISA",
- "bin": "513842",
- "last_four_digits": "1234",
- "type": "VISA_DEBIT",
- "country_code": "FR",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "cavv": "OTkxOTA4MDkxNjMzMTYwNTUwMzY=",
- "cavv_algorithm": "string",
- "directory_response": "string",
- "authentication_response": "string",
- "trans_status_reason": "string",
- "card_holder_info": "string"
}, - "fingerprint": "F-coGuJQ55tUk8CnKGI9PX1T"
}, - "parent_partner_reference": "AE0002ZCF7652QFF",
- "partner_additional_data": {
- "opc": "3x002"
}, - "save_token": true,
- "token_saved": true,
- "wallet_token": "1339f5a6-902b-4d2b-8b01-708caebeb76b"
}
]
}, - "authentication": {
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "CREATED",
- "partner_authentications": [
- {
- "id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "CREATED",
- "amount": 1000,
- "partner_status": "AUTHENTICATED",
- "partner_status_description": "Successful authentication",
- "card": {
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "selected_network": "VISA",
- "bin": "513842",
- "last_four_digits": "1234",
- "type": "VISA_DEBIT",
- "country_code": "FR",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "cavv": "OTkxOTA4MDkxNjMzMTYwNTUwMzY=",
- "cavv_algorithm": "string",
- "directory_response": "string",
- "authentication_response": "string",
- "trans_status_reason": "string",
- "card_holder_info": "string"
}, - "fingerprint": "F-coGuJQ55tUk8CnKGI9PX1T"
}
}
]
}, - "amounts": {
- "authorize_pending": 0,
- "total_authorized": 4299,
- "total_voided": 299,
- "available_to_void": 1000,
- "total_captured": 3000,
- "available_to_capture": 1000,
- "total_refunded": 0,
- "available_to_refund": 3000
}, - "links": {
- "self": {
- "href": "/v2/client-sessions/9a14962c-bdcf-49d1-8673-e75dfb48013f",
- "method": "GET"
}, - "capture": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/captures",
- "method": "POST"
}, - "refund": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/refunds",
- "method": "POST"
}, - "void": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/voids",
- "method": "POST"
}, - "payment_link": {
- "href": "/v2/payment-links/03e0833d-ca1c-4ea6-8af1-23b5a96ae288",
- "method": "GET"
}
}, - "browser": {
- "accept_header": "text/html",
- "user_agent": "Mozilla/4.0 (MSIE 6.0; Windows NT 5.0)",
- "color_depth": 32,
- "java_enabled": true,
- "javascript_enabled": true,
- "locale": "en-GB",
- "screen_height": 1200,
- "screen_width": 1600,
- "utc_time_zone": 60
}, - "split": [
- {
- "partner": "ingenico",
- "method": "creditcard",
- "amount": 4299,
- "parent_partner_transaction_id": "1a2b3c4d-1a2b-abcd-1234-123456789abc",
- "parent_payment_id": "9399c938-80e1-11ef-9de7-327d4a6ae82c",
- "parent_partner_token": "64837-39372-32188",
- "parent_partner_reference": "string"
}
], - "webhook": {
- "headers": [
- {
- "name": "x-order-id",
- "values": [
- "123456789"
]
}
], - "event_types": [
- "PAYMENT_CAPTURE",
- "PAYMENT_REFUND",
- "PAYMENT_VOID"
]
}, - "allow_future_usage": true,
- "already_paid": {
- "net_amount": 20000,
- "details": [
- {
- "type": "DEPOSIT",
- "name": "Acompte",
- "net_amount": 10000
}
]
}, - "redirection": {
- "method": "GET",
- "media_type": "application/json",
- "body": "{\"data\": \"json data to be used for redirection\"}"
}
}Void a payment
| id required | string <uuid> Example: e3a6516b-0ec4-4a5b-92b0-7bb9693e81c0 |
| amount required | integer > 0 Example: "10" Amount to be processed for the called operation. |
object (PaymentOperationOrder) Information regarding the order and the items to be purchased. This object is only valued for payment operations. | |
| merchant_reference | string Example: "CAP#1223445" Reference of the operation in the merchant system. |
{- "amount": 10,
- "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": "string",
- "name": "string",
- "address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- null
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "category": "string",
- "check_in_date": "2025-08-25",
- "check_out_date": "2025-08-26",
- "number_of_nights": 1,
- "number_of_rooms": 1,
- "room_type": "string",
- "guests": {
- "adult_count": 0,
- "child_count": 0,
- "infant_count": 0,
- "pet_count": 0
}
}
]
}
]
}
], - "additional_data": { }
}, - "merchant_reference": "CAP#1223445"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "overview": {
- "consumed": "NOT",
- "captured": "NOT",
- "voided": "NOT",
- "refunded": "NOT"
}, - "client_session_id": "083e320e-e2e2-4a94-b5e1-abc028b960ab",
- "payment_link_id": "b299d88a-1d8a-4d54-8352-aa90479aab46",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "version": 3,
- "order_reference": "order_01",
- "order": {
- "reference": "order_01",
- "net_amount": 4299,
- "discount_amount": 500,
- "tax_amount": 3582,
- "shipments": [
- {
- "net_amount": 4299,
- "delivery_type": "USER_DELIVERY",
- "delivery_quickness": "EXPRESS",
- "delivery_method_reference": "DHL",
- "estimated_delivery_date_time": "2020-08-25T10:42:59+02:00",
- "shipping_address": {
- "company_name": "ACME",
- "gender": "MALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "Parker",
- "address_lines": [
- "1st Street"
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538",
- "delivery_point_name": "Le Trop Quai."
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": "string",
- "name": "string",
- "address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- null
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "category": "string",
- "check_in_date": "2025-08-25",
- "check_out_date": "2025-08-26",
- "number_of_nights": 1,
- "number_of_rooms": 1,
- "room_type": "string",
- "guests": {
- "adult_count": 0,
- "child_count": 0,
- "infant_count": 0,
- "pet_count": 0
}
}
]
}
]
}
], - "billing_address": {
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "address_lines": [
- "1st Street"
], - "city": "New York",
- "postal_code": "10001",
- "country_code": "US",
- "province_code": "NY",
- "phone_number": "+526645951538",
- "mobile_phone_number": "+526645951538",
- "work_phone_number": "+526645951538"
}, - "discounts": [
- {
- "net_amount": 0,
- "tax_amount": 0,
- "coupon_code": "BLACK_FRIDAY",
- "seller_reference": "SELLER_01"
}
], - "additional_data": { },
- "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#42-ACME",
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2020-01-01T00:00:00+01:00",
- "total_sales_count": 10000,
- "total_sales_amount": 12000
}
]
}, - "customer": {
- "reference": "customer_01",
- "type": "PERSON",
- "company_identifier": "12345678900012",
- "company_name": "Company name",
- "gender": "MALE",
- "first_name": "Miles",
- "middle_name": "Eva",
- "last_name": "Morales",
- "national_identifier": "MX-1234567890",
- "birth_date": "1980-01-01",
- "ip_address": "45.15.207.98",
- "locale": "en-US",
- "account": {
- "creation_date_time": "2020-08-25T10:42:59+02:00",
- "update_date_time": "2020-08-25T10:42:59+02:00",
- "password_update_date_time": "2020-08-25T10:42:59+02:00",
- "purchase_count_last_day": 3,
- "purchase_count_last_six_months": 5,
- "purchase_count_last_year": 15,
- "different_card_count_last_day": 3,
- "authentication_method": "GUEST",
- "authentication_date_time": "2020-08-25T10:42:59+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "trust_indicator": "GOOD",
- "purchase_total_amount": 125000,
- "first_purchase_date_time": "2020-08-25T10:42:59+02:00",
- "prior_purchase_date_time": "2025-08-25T10:42:59+02:00"
}
}, - "amount": 4299,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "capture_delay": "PT24H",
- "captures": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "voids": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "refunds": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "amount": 4299,
- "created_at": "2020-08-25T10:42:59.123+02:00",
- "updated_at": "2020-08-25T10:42:59.123+02:00",
- "triggered_by": "MERCHANT",
- "merchant_reference": "CAP#1223445",
- "status": "SUCCESS",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "SUCCESS"
}
], - "order": {
- "shipments": [
- {
- "net_amount": 4299,
- "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "SKU_01",
- "name": "My awesome product",
- "brand": "My awesome brand",
- "unit_gross_price": 1099,
- "net_amount": 4299,
- "discount_amount": 0,
- "quantity": 4,
- "tax_amount": 399,
- "tax_rate": 20,
- "seller_reference": "SELLER_01",
- "seller_name": "My awesome seller",
- "is_marketplace_seller": true,
- "categories": [
- "Ex: [\"Car\", \"Bicycle\"]"
], - "accommodation_data": [
- {
- "booking_reference": null,
- "name": null,
- "address": null,
- "category": null,
- "check_in_date": null,
- "check_out_date": null,
- "number_of_nights": null,
- "number_of_rooms": null,
- "room_type": null,
- "guests": { }
}
]
}
]
}
], - "additional_data": { }
}
}
], - "authorization": {
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "AUTHORIZED",
- "partner_transactions": [
- {
- "id": "e3a6516b-0ec4-4a5b-92b0-7bb9693e82c1",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "amount": 4299,
- "remaining_amount": 4299,
- "partner": "ingenico",
- "method": "creditcard",
- "partner_reference": "AE0002ZCF7652QFF",
- "partner_status": "000.000.000",
- "partner_status_description": "Transaction succeeded",
- "status_code": "SUCCEEDED",
- "parent_partner_token": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "AUTHORIZED",
- "card": {
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "selected_network": "VISA",
- "bin": "513842",
- "last_four_digits": "1234",
- "type": "VISA_DEBIT",
- "country_code": "FR",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "cavv": "OTkxOTA4MDkxNjMzMTYwNTUwMzY=",
- "cavv_algorithm": "string",
- "directory_response": "string",
- "authentication_response": "string",
- "trans_status_reason": "string",
- "card_holder_info": "string"
}, - "fingerprint": "F-coGuJQ55tUk8CnKGI9PX1T"
}, - "parent_partner_reference": "AE0002ZCF7652QFF",
- "partner_additional_data": {
- "opc": "3x002"
}, - "save_token": true,
- "token_saved": true,
- "wallet_token": "1339f5a6-902b-4d2b-8b01-708caebeb76b"
}
]
}, - "authentication": {
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "CREATED",
- "partner_authentications": [
- {
- "id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "status": "CREATED",
- "amount": 1000,
- "partner_status": "AUTHENTICATED",
- "partner_status_description": "Successful authentication",
- "card": {
- "holder_name": "John Doe",
- "expiry_month": "01",
- "expiry_year": "24",
- "selected_network": "VISA",
- "bin": "513842",
- "last_four_digits": "1234",
- "type": "VISA_DEBIT",
- "country_code": "FR",
- "three_ds": {
- "eci": "01",
- "version": "2.2.0",
- "flow": "CHALLENGE",
- "ds_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "acs_transaction_id": "f8a333e9-cdc2-45d1-b9e5-dba95e00fa95",
- "cavv": "OTkxOTA4MDkxNjMzMTYwNTUwMzY=",
- "cavv_algorithm": "string",
- "directory_response": "string",
- "authentication_response": "string",
- "trans_status_reason": "string",
- "card_holder_info": "string"
}, - "fingerprint": "F-coGuJQ55tUk8CnKGI9PX1T"
}
}
]
}, - "amounts": {
- "authorize_pending": 0,
- "total_authorized": 4299,
- "total_voided": 299,
- "available_to_void": 1000,
- "total_captured": 3000,
- "available_to_capture": 1000,
- "total_refunded": 0,
- "available_to_refund": 3000
}, - "links": {
- "self": {
- "href": "/v2/client-sessions/9a14962c-bdcf-49d1-8673-e75dfb48013f",
- "method": "GET"
}, - "capture": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/captures",
- "method": "POST"
}, - "refund": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/refunds",
- "method": "POST"
}, - "void": {
- "href": "/v2/payments/9a14962c-bdcf-49d1-8673-e75dfb48013f/voids",
- "method": "POST"
}, - "payment_link": {
- "href": "/v2/payment-links/03e0833d-ca1c-4ea6-8af1-23b5a96ae288",
- "method": "GET"
}
}, - "browser": {
- "accept_header": "text/html",
- "user_agent": "Mozilla/4.0 (MSIE 6.0; Windows NT 5.0)",
- "color_depth": 32,
- "java_enabled": true,
- "javascript_enabled": true,
- "locale": "en-GB",
- "screen_height": 1200,
- "screen_width": 1600,
- "utc_time_zone": 60
}, - "split": [
- {
- "partner": "ingenico",
- "method": "creditcard",
- "amount": 4299,
- "parent_partner_transaction_id": "1a2b3c4d-1a2b-abcd-1234-123456789abc",
- "parent_payment_id": "9399c938-80e1-11ef-9de7-327d4a6ae82c",
- "parent_partner_token": "64837-39372-32188",
- "parent_partner_reference": "string"
}
], - "webhook": {
- "headers": [
- {
- "name": "x-order-id",
- "values": [
- "123456789"
]
}
], - "event_types": [
- "PAYMENT_CAPTURE",
- "PAYMENT_REFUND",
- "PAYMENT_VOID"
]
}, - "allow_future_usage": true,
- "already_paid": {
- "net_amount": 20000,
- "details": [
- {
- "type": "DEPOSIT",
- "name": "Acompte",
- "net_amount": 10000
}
]
}, - "redirection": {
- "method": "GET",
- "media_type": "application/json",
- "body": "{\"data\": \"json data to be used for redirection\"}"
}
}Create a new payment link that can be shared with customers to collect payments
| entity_id required | string <uuid> ID of the entity that is using the orchestration API. This ID is provided by Purse. |
| expires_at required | string <date-time> Example: "2024-08-25T10:42:59.123+02:00" Expiration date time of the payment link. After this date time, the link will no longer be valid. |
| amount required | integer >= 0 Example: "4299" Amount to be payed in currency minor unit.
For example, 4299 is 42.99 EUR.
Can only be set to 0 (zero) if |
| currency required | string (Currency) Enum: "CHF" "EUR" "GBP" "JPY" "USD" Example: "EUR" ISO 4217 currency code |
| capture_mode | string (CaptureMode) Default: "MANUAL" Enum: "MANUAL" "AUTOMATIC" Example: "MANUAL" Capture mode for the payment.
|
| shopper_redirection_url required | string <uri> Example: "https://www.example.org/payment-callback?order_id=123456789" URL to which the shopper will be redirected after the payment process. Redirection will use HTTP GET |
required | object (Order) Information regarding the order and the items to be purchased. |
object (Customer) Information regarding the customer purchasing the order. | |
object (PaymentThreeDsAuthenticationOptions) Options for 3DS authentication. | |
object (Webhook) If provided, merchant will receive webhook requests on the provided URL after each change in the client session status. | |
| allow_future_usage | boolean Default value is |
object (AlreadyPaid) Information about amounts already paid (e.g. deposits). |
{- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "expires_at": "2024-08-25T10:42:59.123+02:00",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "order": {
- "reference": "order_123456",
- "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "USER_DELIVERY",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "DHL-EXPRESS",
- "estimated_delivery_date_time": "2024-08-27T15:00:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "PROD-001",
- "name": "Product name",
- "brand": "Example Brand",
- "quantity": 1,
- "unit_gross_price": 10000,
- "net_amount": 12000,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
- "categories": [
- "Electronics",
- "Gadgets"
]
}
]
}
], - "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#42-ACME",
- "total_sales_count": 10000,
- "total_sales_amount": 12000,
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2024-01-01T00:00:00+01:00"
}
]
}, - "customer": {
- "reference": "CUST-12345",
- "type": "PERSON",
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "birth_date": "1992-05-20",
- "ip_address": "203.0.113.195",
- "locale": "fr-FR",
- "account": {
- "creation_date_time": "2021-03-10T10:00:00+01:00",
- "update_date_time": "2024-03-10T10:00:00+01:00",
- "password_update_date_time": "2024-03-10T10:00:00+01:00",
- "purchase_count_last_day": 1,
- "purchase_count_last_six_months": 8,
- "purchase_count_last_year": 20,
- "different_card_count_last_day": 1,
- "authentication_method": "MERCHANT_CREDENTIALS",
- "authentication_date_time": "2024-08-20T10:00:00+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "purchase_total_amount": 50000,
- "first_purchase_date_time": "2021-03-10T10:00:00+01:00",
- "prior_purchase_date_time": "2024-07-20T10:00:00+02:00"
}
}, - "three_ds_authentication_options": {
- "challenge_indicator": "NO_CHALLENGE_REQUESTED",
- "challenge_exemption": "LOW_VALUE"
}, - "webhook": {
- "headers": [
- {
- "name": "x-order-id",
- "values": [
- "123456789"
]
}, - {
- "name": "x-api-key",
- "values": [
- "9bbce5d2-501c-4fba-9442-3181efd2a7a3"
]
}
]
}, - "allow_future_usage": false
}{- "id": "7d9c5288-d7bb-423b-bff7-5c0727cb0adc",
- "version": 1,
- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "status": "CREATED",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "expires_at": "2024-08-25T10:42:59.123+02:00",
- "links": {
- "self": {
- "method": "GET"
}, - "customer_url": {
- "method": "GET"
}, - "cancel": {
- "method": "POST"
}
}, - "customer": {
- "reference": "CUST-12345",
- "type": "PERSON",
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "birth_date": "1992-05-20",
- "ip_address": "203.0.113.195",
- "locale": "fr-FR",
- "account": {
- "creation_date_time": "2021-03-10T10:00:00+01:00",
- "update_date_time": "2024-03-10T10:00:00+01:00",
- "password_update_date_time": "2024-03-10T10:00:00+01:00",
- "purchase_count_last_day": 1,
- "purchase_count_last_six_months": 8,
- "purchase_count_last_year": 20,
- "different_card_count_last_day": 1,
- "authentication_method": "MERCHANT_CREDENTIALS",
- "authentication_date_time": "2024-08-20T10:00:00+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "purchase_total_amount": 50000,
- "first_purchase_date_time": "2021-03-10T10:00:00+01:00",
- "prior_purchase_date_time": "2024-07-20T10:00:00+02:00"
}
}, - "order": {
- "reference": "order_123456",
- "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "USER_DELIVERY",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "DHL-EXPRESS",
- "estimated_delivery_date_time": "2024-08-27T15:00:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "PROD-001",
- "name": "Product name",
- "brand": "Example Brand",
- "quantity": 1,
- "unit_gross_price": 10000,
- "net_amount": 12000,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
- "categories": [
- "Electronics",
- "Gadgets"
]
}
]
}
], - "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#42-ACME",
- "total_sales_count": 10000,
- "total_sales_amount": 12000,
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2024-01-01T00:00:00+01:00"
}
]
}, - "allow_future_usage": false,
- "payment_attempts": [ ]
}Retrieve a payment link by its unique identifier
| id required | string <uuid> Example: 7d9c5288-d7bb-423b-bff7-5c0727cb0adc Payment link ID |
{- "id": "7d9c5288-d7bb-423b-bff7-5c0727cb0adc",
- "version": 1,
- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "status": "PAID",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "expires_at": "2024-08-25T10:42:59.123+02:00",
- "links": {
- "self": {
- "method": "GET"
}, - "customer_url": {
- "method": "GET"
}, - "cancel": {
- "method": "POST"
}
}, - "customer": {
- "reference": "CUST-12345",
- "type": "PERSON",
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "birth_date": "1992-05-20",
- "ip_address": "203.0.113.195",
- "locale": "fr-FR",
- "account": {
- "creation_date_time": "2021-03-10T10:00:00+01:00",
- "update_date_time": "2024-03-10T10:00:00+01:00",
- "password_update_date_time": "2024-03-10T10:00:00+01:00",
- "purchase_count_last_day": 1,
- "purchase_count_last_six_months": 8,
- "purchase_count_last_year": 20,
- "different_card_count_last_day": 1,
- "authentication_method": "MERCHANT_CREDENTIALS",
- "authentication_date_time": "2024-08-20T10:00:00+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "purchase_total_amount": 50000,
- "first_purchase_date_time": "2021-03-10T10:00:00+01:00",
- "prior_purchase_date_time": "2024-07-20T10:00:00+02:00"
}
}, - "order": {
- "reference": "order_123456",
- "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "USER_DELIVERY",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "DHL-EXPRESS",
- "estimated_delivery_date_time": "2024-08-27T15:00:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "PROD-001",
- "name": "Product name",
- "brand": "Example Brand",
- "quantity": 1,
- "unit_gross_price": 10000,
- "net_amount": 12000,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
- "categories": [
- "Electronics",
- "Gadgets"
]
}
]
}
], - "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#42-ACME",
- "total_sales_count": 10000,
- "total_sales_amount": 12000,
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2024-01-01T00:00:00+01:00"
}
]
}, - "allow_future_usage": false,
- "payment_attempts": [
- {
- "payment_id": "05c0d03f-2404-48c5-a521-bd5a57d3b355",
- "authorization_status": "AUTHORIZED",
- "client_session_id": "05c0d03f-2404-48c5-a521-bd5a57d3b355",
- "client_session_status": "SUBMITTED"
}
]
}Cancel an active payment link. Once cancelled, the link can no longer be used for payments.
| id required | string <uuid> Example: 7d9c5288-d7bb-423b-bff7-5c0727cb0adc Payment link ID |
{- "id": "7d9c5288-d7bb-423b-bff7-5c0727cb0adc",
- "version": 1,
- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "status": "CANCELLED",
- "amount": 12000,
- "currency": "EUR",
- "capture_mode": "MANUAL",
- "expires_at": "2024-08-25T10:42:59.123+02:00",
- "links": {
- "self": {
- "method": "GET"
}, - "customer_url": {
- "method": "GET"
}, - "cancel": {
- "method": "POST"
}
}, - "customer": {
- "reference": "CUST-12345",
- "type": "PERSON",
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "birth_date": "1992-05-20",
- "ip_address": "203.0.113.195",
- "locale": "fr-FR",
- "account": {
- "creation_date_time": "2021-03-10T10:00:00+01:00",
- "update_date_time": "2024-03-10T10:00:00+01:00",
- "password_update_date_time": "2024-03-10T10:00:00+01:00",
- "purchase_count_last_day": 1,
- "purchase_count_last_six_months": 8,
- "purchase_count_last_year": 20,
- "different_card_count_last_day": 1,
- "authentication_method": "MERCHANT_CREDENTIALS",
- "authentication_date_time": "2024-08-20T10:00:00+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "purchase_total_amount": 50000,
- "first_purchase_date_time": "2021-03-10T10:00:00+01:00",
- "prior_purchase_date_time": "2024-07-20T10:00:00+02:00"
}
}, - "order": {
- "reference": "order_123456",
- "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "USER_DELIVERY",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "DHL-EXPRESS",
- "estimated_delivery_date_time": "2024-08-27T15:00:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Jane",
- "middle_name": "Marie",
- "last_name": "Doe",
- "address_lines": [
- "123 Main Street",
- "Apartment 4B"
], - "city": "Paris",
- "postal_code": "75001",
- "country_code": "FR",
- "province_code": "FR-IDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "PROD-001",
- "name": "Product name",
- "brand": "Example Brand",
- "quantity": 1,
- "unit_gross_price": 10000,
- "net_amount": 12000,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
- "categories": [
- "Electronics",
- "Gadgets"
]
}
]
}
], - "additional_data": {
- "custom_field1": "custom value",
- "custom_field2": 123
}, - "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#42-ACME",
- "total_sales_count": 10000,
- "total_sales_amount": 12000,
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2024-01-01T00:00:00+01:00"
}
]
}, - "allow_future_usage": false,
- "payment_attempts": [ ]
}Returns a list of public keys used to sign the purse-redirection-data tokens.
These keys can be used to validate the integrity of the redirection token via JWS.
{- "keys": [
- {
- "kty": "RSA",
- "e": "AQAB",
- "kid": "12345",
- "n": "0vx7agoebGcQS...5I"
}
]
}A way to retrieve eligible modes of payment given a Order + Customer pair.
| entity_id required | string <uuid> ID of the entity that is using the orchestration API. This ID is provided by Purse. |
| amount required | integer >= 0 Example: "4299" Amount to be payed in currency minor unit.
For example, 4299 is 42.99 EUR.
Can only be set to 0 (zero) if |
| currency required | string (Currency) Enum: "CHF" "EUR" "GBP" "JPY" "USD" Example: "EUR" ISO 4217 currency code |
required | object (Order) Information regarding the order and the items to be purchased. |
object (Customer) Information regarding the customer purchasing the order. | |
| allow_future_usage | boolean Default value is |
{- "entity_id": "5e3a0862-7cc3-4427-92ba-9e1e9595f571",
- "amount": 12000,
- "currency": "EUR",
- "customer": {
- "reference": "2090000000000",
- "type": "PERSON",
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "birth_date": "1995-08-25",
- "ip_address": "203.0.113.195",
- "locale": "fr-FR",
- "account": {
- "creation_date_time": "2017-06-15T15:30:00+02:00",
- "update_date_time": "2023-02-20T20:54:00+01:00",
- "password_update_date_time": "2023-02-20T20:54:00+01:00",
- "purchase_count_last_day": 0,
- "purchase_count_last_six_months": 3,
- "purchase_count_last_year": 8,
- "authentication_method": "MERCHANT_CREDENTIALS",
- "authentication_date_time": "2023-10-30T15:33:00+02:00",
- "age_indicator": "MORE_60_DAYS",
- "change_indicator": "MORE_60_DAYS",
- "password_change_indicator": "MORE_60_DAYS",
- "purchase_total_amount": 12000,
- "first_purchase_date_time": "2023-10-30T15:33:00+02:00",
- "prior_purchase_date_time": "2024-12-30T15:33:00+02:00"
}
}, - "order": {
- "reference": "123456789",
- "net_amount": 12000,
- "tax_amount": 2000,
- "billing_address": {
- "gender": "FEMALE",
- "first_name": "Emily",
- "middle_name": "Rose",
- "last_name": "PARKER",
- "address_lines": [
- "NextNow",
- "67 Rue de Luxembourg"
], - "city": "Lille",
- "postal_code": "59777",
- "country_code": "FR",
- "province_code": "FR-HDF",
- "phone_number": "+33111111111",
- "mobile_phone_number": "+33222222222",
- "work_phone_number": "+33444444444"
}, - "shipments": [
- {
- "net_amount": 12000,
- "delivery_type": "EXTERNAL_PICKUP",
- "delivery_quickness": "REGULAR",
- "delivery_method_reference": "#1123-pickup",
- "estimated_delivery_date_time": "2023-10-30T15:40:00+02:00",
- "shipping_address": {
- "gender": "FEMALE",
- "first_name": "Rodriguez",
- "middle_name": "Eios",
- "last_name": "DESANTONS",
- "address_lines": [
- "Av. de la roja 1676"
], - "city": "Porto",
- "postal_code": "22000",
- "country_code": "PT",
- "province_code": "PT-13",
- "phone_number": "+33555555555",
- "mobile_phone_number": "+33666666666",
- "work_phone_number": "+33777777777",
- "delivery_point_name": "home"
}, - "item_lines": [
- {
- "type": "PHYSICAL",
- "sku_reference": "2600218",
- "name": "Camiseta100 niño GYM",
- "brand": "Quivio",
- "unit_gross_price": 5000,
- "net_amount": 12000,
- "quantity": 2,
- "tax_amount": 2000,
- "tax_rate": 20,
- "seller_reference": "#42-ACME",
- "seller_name": "Acme Corp",
- "is_marketplace_seller": true,
- "categories": [
- "Clothing"
]
}, - {
- "type": "SHIPPING_FEES",
- "name": "Transporte",
- "net_amount": 0,
- "unit_gross_price": 0,
- "quantity": 1,
- "tax_amount": 0,
- "tax_rate": 0,
- "categories": [
- "Shipping"
]
}
]
}
], - "marketplace_sellers": [
- {
- "name": "Acme Corp",
- "reference": "#69-ACME",
- "total_sales_count": 10000,
- "total_sales_amount": 12000,
- "registration_date_time": "2020-01-01T00:00:00+01:00",
- "last_update_date_time": "2025-01-01T00:00:00+01:00"
}
]
}, - "allow_future_usage": false
}{- "amount": 4299,
- "currency": "EUR",
- "eligible_solutions": [
- {
- "partner": "string",
- "method": "string"
}
]
}