This is the reference documentation and schemas for the Forward Payments Core API API. For tutorials and other documentation please refer to the documentation.
Forward uses API Keys to manage access to the API. You can pass the API key in the x-api-key
header to the request.
Talk you your sales rep about acquiring these API keys.
Authorization is done via headers. You should pass the api key as the value to the x-api-key
header. For example, x-api-key: ${API_KEY}
. For more information on authentication, please refer to the authentication token docs.
Please note that you will be given 2 API keys, one public key and one private key. Use the private key for all server to server communication.
The public key is used for interfacing wih the Forward JS SDK.
Forward provides support for idempotency, a feature that allows requests to be safely retried without the risk of duplicate operations. This becomes particularly useful when an API call is interrupted during transmission, resulting in the absence of a response.
To execute an idempotent request, include the idempotency key in the x-idempotency-key header of the request. This key, which should be a unique value of at least 10 characters, is generated by the client. The method of creating this key is up to you, but we recommend using UUID v4 or any other string that has sufficient entropy to prevent overlaps.
Forward's idempotency works by saving the resulting status code and body of the first request made for any given idempotency key for any successful request. Subsequent requests with the same key return the same result for a period of up to 1 hour.
Idempotency is only supported for POST
and PUT
requests.
Fetch list of checkout sessions for a given account
query Parameters
ending_before | string The id of the entity, use to sort in reverse order |
starting_after | string The id of the entity |
limit | number Default: 10 Max value is 50 |
header Parameters
x-account-id required | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "entity": "checkout_session",
- "url": "string",
- "cancel_url": "string",
- "success_url": "string",
- "customer_email": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "payment_method_types": [
- "card"
], - "payment_intent_data": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "payment_intent_id": "string",
- "subtotal": 0,
- "discount_amount": 0,
- "status": "open",
- "account_id": "string",
- "partner_id": "string",
- "business_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "has_more": true,
- "limit": 0
}
}
Create a new checkout session
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
cancel_url required | string |
success_url required | string |
customer_email required | string |
reference_id | string |
object | |
payment_method_types | Array of strings Items Enum: "card" "bank" |
required | object (PaymentIntentCreateRequestDTO) |
subtotal required | integer >= 0 |
discount_amount required | integer >= 0 |
Responses
Request samples
- Payload
{- "cancel_url": "string",
- "success_url": "string",
- "customer_email": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "payment_method_types": [
- "card"
], - "payment_intent_data": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "subtotal": 0,
- "discount_amount": 0
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "checkout_session",
- "url": "string",
- "cancel_url": "string",
- "success_url": "string",
- "customer_email": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "payment_method_types": [
- "card"
], - "payment_intent_data": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "payment_intent_id": "string",
- "subtotal": 0,
- "discount_amount": 0,
- "status": "open",
- "account_id": "string",
- "partner_id": "string",
- "business_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z"
}
Fetch a specific checkout session
path Parameters
id required | string |
header Parameters
x-account-id required | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "checkout_session",
- "url": "string",
- "cancel_url": "string",
- "success_url": "string",
- "customer_email": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "payment_method_types": [
- "card"
], - "payment_intent_data": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "payment_intent_id": "string",
- "subtotal": 0,
- "discount_amount": 0,
- "status": "open",
- "account_id": "string",
- "partner_id": "string",
- "business_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z"
}
Response samples
- 200
- 4XX
- 5XX
{- "checkout_session": {
- "id": "string",
- "entity": "checkout_session",
- "url": "string",
- "cancel_url": "string",
- "success_url": "string",
- "customer_email": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "payment_method_types": [
- "card"
], - "payment_intent_data": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "payment_intent_id": "string",
- "subtotal": 0,
- "discount_amount": 0,
- "status": "open",
- "account_id": "string",
- "partner_id": "string",
- "business_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z"
}, - "branding": {
- "primary_color": "string",
- "company_name": "string",
- "company_logo_url": "string"
}
}
Complete a checkout session
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "checkout_session",
- "url": "string",
- "cancel_url": "string",
- "success_url": "string",
- "customer_email": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "payment_method_types": [
- "card"
], - "payment_intent_data": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "payment_intent_id": "string",
- "subtotal": 0,
- "discount_amount": 0,
- "status": "open",
- "account_id": "string",
- "partner_id": "string",
- "business_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z"
}
Expire a check session
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "checkout_session",
- "url": "string",
- "cancel_url": "string",
- "success_url": "string",
- "customer_email": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "payment_method_types": [
- "card"
], - "payment_intent_data": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "payment_intent_id": "string",
- "subtotal": 0,
- "discount_amount": 0,
- "status": "open",
- "account_id": "string",
- "partner_id": "string",
- "business_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z"
}
Create a checkout session payment
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
reference_id | string |
object | |
description | string |
object | |
cvv2 | string |
payment_method_id required | string |
Responses
Request samples
- Payload
{- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "cvv2": "string",
- "payment_method_id": "string"
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}
Create a payment intent
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
amount required | integer >= 0 |
merchant_amount | integer >= 0 |
Array of objects | |
object | |
capture | boolean |
currency | string Value: "USD" |
reference_id | string |
object | |
description | string |
payment_method_types | Array of strings Items Enum: "card" "bank" |
Responses
Request samples
- Payload
{- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Fetch a list of payment intents for an account
query Parameters
ending_before | string The id of the entity, use to sort in reverse order |
starting_after | string The id of the entity |
limit | number Default: 10 Max value is 50 |
header Parameters
x-account-id | string |
x-business-id | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
], - "meta": {
- "has_more": true,
- "limit": 0
}
}
Search for payment intents
header Parameters
x-account-id | string |
x-business-id | string |
Request Body schema: application/json
reference_id | string |
status | string Enum: "created" "pending" "uncaptured" "captured" "cancelled" "failed" |
settlement_status | string Enum: "settled" "unsettled" |
payment_status | string Enum: "pending" "uncaptured" "captured" "cancelled" "voided" "failed" |
has_refund | boolean |
start_date | string <date-time> |
end_date | string <date-time> |
amount_min | integer |
amount_max | integer |
string or string or string or string or string or string or string | |
string or string Default: "desc" | |
limit | integer |
page | integer |
Responses
Request samples
- Payload
{- "reference_id": "string",
- "status": "created",
- "settlement_status": "settled",
- "payment_status": "pending",
- "has_refund": true,
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "amount_min": 0,
- "amount_max": 0,
- "sort_column": "amount",
- "sort_direction": "desc",
- "limit": 0,
- "page": 0
}
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
], - "meta": {
- "limit": 0,
- "page": 0,
- "sort_column": "amount",
- "sort_direction": "desc",
- "reference_id": "string",
- "status": "created",
- "settlement_status": "settled",
- "payment_status": "pending",
- "has_refund": true,
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "amount_min": 0,
- "amount_max": 0
}
}
Fetch a payment intent for an account
path Parameters
id required | string |
header Parameters
x-account-id required | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Patch a payment intent
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
amount | integer >= 0 |
merchant_amount | integer >= 0 |
Array of objects | |
object | |
capture | boolean |
payment_method_types | Array of strings Items Enum: "card" "bank" |
reference_id | string |
object | |
description | string |
Responses
Request samples
- Payload
{- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string"
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Cancel a payment intent
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
cancellation_reason | string Enum: "duplicate" "fraudulent" "requested_by_customer" "abandoned" |
Responses
Request samples
- Payload
{- "cancellation_reason": "duplicate"
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Capture a payment intent
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
amount | integer >= 0 |
Array of objects |
Responses
Request samples
- Payload
{- "amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
]
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Fetch list of payments for a payment intent
path Parameters
id required | string |
query Parameters
ending_before | string The id of the entity, use to sort in reverse order |
starting_after | string The id of the entity |
limit | number Default: 10 Max value is 50 |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}
], - "meta": {
- "has_more": true,
- "limit": 0
}
}
Create a payment
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
reference_id | string |
object | |
description | string |
object | |
cvv2 | string |
payment_method_id required | string |
Responses
Request samples
- Payload
{- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "cvv2": "string",
- "payment_method_id": "string"
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}
Create a refund
path Parameters
id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
amount | integer >= 0 |
Responses
Request samples
- Payload
{- "amount": 0
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "refund",
- "status": "pending",
- "external": true,
- "amount": 0,
- "account_id": "string",
- "payment_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "settlement_status": "settled",
- "settled_at": "string"
}
Fetch a refund by id
path Parameters
id required | string |
header Parameters
x-account-id required | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "refund",
- "status": "pending",
- "external": true,
- "amount": 0,
- "account_id": "string",
- "payment_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "settlement_status": "settled",
- "settled_at": "string"
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "bank",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "bank": {
- "masked_account": "string",
- "masked_routing": "string",
- "owner_type": "business",
- "account_id": "string",
- "subtype": "string",
- "name": "string",
- "official_name": "string",
- "type": "string"
}
}
Update payment method
path Parameters
id required | string |
Request Body schema: application/json
required | object | ||||||||
|
Responses
Request samples
- Payload
{- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "bank",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "bank": {
- "masked_account": "string",
- "masked_routing": "string",
- "owner_type": "business",
- "account_id": "string",
- "subtype": "string",
- "name": "string",
- "official_name": "string",
- "type": "string"
}
}
Create Payment Intent
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
required | object |
required | object (ExternalPaymentMethodCreateRequestDTO) |
required | object |
card_present | boolean |
Responses
Request samples
- Payload
{- "payment_intent": {
- "amount": 0,
- "merchant_amount": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "payment_method_types": [
- "card"
]
}, - "payment_method": {
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string"
}
}, - "gateway_response": {
- "auth_code": "string",
- "retrieval_reference": "stringstring",
- "invoice_number": "string",
- "response_raw": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "card_present": true
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Cancel Payment Intent
path Parameters
payment_intent_id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
object | |
cancellation_reason | string Enum: "duplicate" "fraudulent" "requested_by_customer" "abandoned" |
Responses
Request samples
- Payload
{- "gateway_void_response": {
- "created_at": "2019-08-24T14:15:22Z",
- "amount": 0,
- "response_raw": "string"
}, - "cancellation_reason": "duplicate"
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Capture External Payment Intent
path Parameters
payment_intent_id required | string |
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
amount | integer |
required | object |
Responses
Request samples
- Payload
{- "amount": 0,
- "gateway_capture_response": {
- "auth_code": "string",
- "retrieval_reference": "stringstring",
- "invoice_number": "string",
- "response_raw": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "client_secret": "string",
- "entity": "payment_intent",
- "status": "created",
- "amount": 0,
- "merchant_amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "payment_splits": [
- {
- "account_id": "string",
- "amount": 0,
- "description": "string"
}
], - "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "capture": true,
- "currency": "USD",
- "latest_payment": {
- "id": "string",
- "entity": "payment",
- "status": "pending",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "amount": 0,
- "amount_authorized": 0,
- "amount_captured": 0,
- "amount_refunded": 0,
- "amount_voided": 0,
- "amount_disputed": 0,
- "amount_reversed": 0,
- "cvv": "M",
- "avs": "A",
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvv_check": "pass",
- "signature": {
- "data": "string",
- "gzipped": true,
- "image_type": "binary",
- "format": "png",
- "dimensions": {
- "width": 0,
- "height": 0
}
}, - "emv_tag_data": "string",
- "entry_mode": "keyed",
- "reversed": true,
- "reversal_id": "string",
- "disputed": true,
- "dispute_id": "string",
- "order_details": {
- "card_not_present_type": "ecommerce",
- "po_number": "string",
- "tax_exempt": true,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "freight_amount": 0,
- "duty_amount": 0,
- "initiated_by": "merchant",
- "is_scheduled_payment": true,
- "order_date": "string",
- "ship_to_zip": "string",
- "ship_from_zip": "string",
- "ship_to_country": "string",
- "invoice_id": "string",
- "items": [
- {
- "line_number": 0,
- "material": "string",
- "description": "string",
- "upc": 0,
- "quantity": 0,
- "uom": "string",
- "unit_cost": 0,
- "net_amount": 0,
- "tax_amount": 0,
- "tip_amount": 0,
- "surcharge_amount": 0,
- "tax_exempt": true,
- "discount_amount": 0
}
]
}, - "payment_intent_id": "string",
- "payment_method_id": "string",
- "payment_method": {
- "id": "string",
- "entity": "payment_method",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "payment_method_type": "card",
- "source_type": "cardpointe",
- "billing_details": {
- "address": {
- "city": "string",
- "country": "string",
- "state": "string",
- "address_line1": "string",
- "address_line2": "string",
- "postal_code": "string"
}, - "email": "string",
- "name": "string",
- "phone": "string"
}, - "single_use_token": true,
- "signature": "string",
- "card": {
- "last_four_digits": "string",
- "first_six_digits": "string",
- "brand": "visa",
- "exp_month": "string",
- "exp_year": "string",
- "wallet": "apple_pay",
- "entry_mode": "keyed",
- "from_terminal": true,
- "device_serial_number": "string",
- "reuse_eligible": true
}
}, - "auth_code": "string",
- "auth_response_text": "string",
- "external": true,
- "card_present": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "description": "string",
- "settlement_status": "settled",
- "settled_at": "string"
}, - "disputed": true,
- "dispute_id": "string",
- "reversed": true,
- "reversal_id": "string",
- "external": true,
- "partner_id": "string",
- "business_id": "string",
- "account_id": "string",
- "payment_method_types": [
- "card"
], - "reference_id": "string",
- "user_fields": {
- "property1": null,
- "property2": null
}, - "cancellation_reason": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "cancelled_at": { },
- "captured_at": { },
- "settlement_status": "settled",
- "settled_at": { }
}
Create Refund
header Parameters
x-account-id required | string |
x-idempotency-key | string |
Request Body schema: application/json
payment_intent_id required | string |
object (RefundRequestDTO) | |
required | object |
Responses
Request samples
- Payload
{- "payment_intent_id": "string",
- "refund_request": {
- "amount": 0
}, - "gateway_response": {
- "created_at": "string",
- "auth_code": "string",
- "retrieval_reference": "stringstring",
- "invoice_number": "string",
- "response_raw": "string"
}
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "refund",
- "status": "pending",
- "external": true,
- "amount": 0,
- "account_id": "string",
- "payment_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "settlement_status": "settled",
- "settled_at": "string"
}
Fetch list of disputes matching query
query Parameters
starting_after | string |
ending_before | string |
string or string or string or string or string or string or string | |
limit | number <= 50 Default: 10 |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "entity": "dispute",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "business_id": "string",
- "status": "new",
- "payment_id": "string",
- "payment_intent_id": "string",
- "amount": 0,
- "notes": [
- {
- "id": "string",
- "message": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}
], - "attachments": [
- {
- "id": "string",
- "description": "string",
- "file_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "uploaded_by": "string",
- "owner_id": "string"
}
], - "dispute_date": "2019-08-24",
- "response_due_date": "2019-08-24",
- "closed_date": "2019-08-24",
- "reason_disputed_code": 0,
- "reason_disputed": "string",
- "dispute_response": "string",
- "reference_meta": {
- "card_last_four": "string",
- "merchant_id": "string",
- "authorization_code": "string",
- "transaction_date": "string",
- "transaction_amount": 0,
- "retrieval_reference": "string"
}, - "settlement_status": "settled",
- "settled_at": "string"
}
], - "meta": {
- "has_more": true,
- "limit": 0
}
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "dispute",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "account_id": "string",
- "business_id": "string",
- "status": "new",
- "payment_id": "string",
- "payment_intent_id": "string",
- "amount": 0,
- "notes": [
- {
- "id": "string",
- "message": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}
], - "attachments": [
- {
- "id": "string",
- "description": "string",
- "file_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "uploaded_by": "string",
- "owner_id": "string"
}
], - "dispute_date": "2019-08-24",
- "response_due_date": "2019-08-24",
- "closed_date": "2019-08-24",
- "reason_disputed_code": 0,
- "reason_disputed": "string",
- "dispute_response": "string",
- "reference_meta": {
- "card_last_four": "string",
- "merchant_id": "string",
- "authorization_code": "string",
- "transaction_date": "string",
- "transaction_amount": 0,
- "retrieval_reference": "string"
}, - "settlement_status": "settled",
- "settled_at": "string"
}
Fetch a list of transactions
query Parameters
ending_before | string |
starting_after | string |
limit | number |
payout_id | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "entity": "transaction",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "ledger_account_id": "string",
- "payout_id": "string",
- "bank_transfer_id": "string",
- "source_type": "adjustment",
- "source_id": "string",
- "source_account_id": "string",
- "amount": 0,
- "settlement_id": "string",
- "settlement_status": "settled",
- "settled_at": "string",
- "description": "string"
}
], - "meta": {
- "has_more": true,
- "limit": 0
}
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "transaction",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "ledger_account_id": "string",
- "payout_id": "string",
- "bank_transfer_id": "string",
- "source_type": "adjustment",
- "source_id": "string",
- "source_account_id": "string",
- "amount": 0,
- "settlement_id": "string",
- "settlement_status": "settled",
- "settled_at": "string",
- "description": "string"
}
Search a list of transactions
Request Body schema: application/json
source_type | string Enum: "adjustment" "checkout_session" "dispute" "fee" "fee_refund" "funding" "payment" "payment_intent" "payment_method" "payment_refund" "payout" "refund" "refund_failure" "transfer" "transfer_refund" "reversal" |
settlement_status | string Enum: "settled" "unsettled" |
start_date | string <date-time> |
end_date | string <date-time> |
string or string or string Default: "updated_at" | |
string or string Default: "desc" | |
amount_min | integer |
amount_max | integer |
limit | integer <= 50 Default: 10 |
page | integer >= 1 Default: 1 |
Responses
Request samples
- Payload
{- "source_type": "adjustment",
- "settlement_status": "settled",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "sort_column": "updated_at",
- "sort_direction": "desc",
- "amount_min": 0,
- "amount_max": 0,
- "limit": 10,
- "page": 1
}
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "entity": "transaction",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "ledger_account_id": "string",
- "payout_id": "string",
- "bank_transfer_id": "string",
- "source_type": "adjustment",
- "source_id": "string",
- "source_account_id": "string",
- "amount": 0,
- "settlement_id": "string",
- "settlement_status": "settled",
- "settled_at": "string",
- "description": "string"
}
], - "meta": {
- "limit": 10,
- "page": 1,
- "sort_column": "updated_at",
- "sort_direction": "desc",
- "source_type": "adjustment",
- "settlement_status": "settled",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "amount_min": 0,
- "amount_max": 0
}
}
Download list of transactions
Request Body schema: application/json
source_type | string Enum: "adjustment" "checkout_session" "dispute" "fee" "fee_refund" "funding" "payment" "payment_intent" "payment_method" "payment_refund" "payout" "refund" "refund_failure" "transfer" "transfer_refund" "reversal" |
settlement_status | string Enum: "settled" "unsettled" |
start_date | string <date-time> |
end_date | string <date-time> |
string or string or string Default: "updated_at" | |
string or string Default: "desc" | |
amount_min | integer |
amount_max | integer |
Responses
Request samples
- Payload
{- "source_type": "adjustment",
- "settlement_status": "settled",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "sort_column": "updated_at",
- "sort_direction": "desc",
- "amount_min": 0,
- "amount_max": 0
}
Response samples
- 200
- 4XX
- 5XX
{ }
Fetch a list of payouts
query Parameters
ending_before | string The id of the entity, use to sort in reverse order |
starting_after | string The id of the entity |
limit | number Default: 10 Max value is 50 |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "entity": "payout",
- "status": "created",
- "payout_number": 0,
- "transaction_count": 0,
- "transaction_summary": [
- {
- "type": "adjustment",
- "count": 0,
- "amount": 0
}
], - "amount": 0,
- "net_amount": 0,
- "fee_amount": 0,
- "batch_fee": 0,
- "reject_fee": 0,
- "latest_payment_data": {
- "id": "string",
- "trace_number": "string",
- "service_type": "standard",
- "description": "string",
- "bank_account_number_mask": "string",
- "bank_account_type": "checking",
- "bank_account_id": "string",
- "status": "created",
- "payment_type": "origination",
- "direction": "inbound",
- "reason_code": "string",
- "reason_data": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "cross_river_bank",
- "reference_id": "string",
- "sec_code": "string"
}, - "payment_data": [
- {
- "id": "string",
- "trace_number": "string",
- "service_type": "standard",
- "description": "string",
- "bank_account_number_mask": "string",
- "bank_account_type": "checking",
- "bank_account_id": "string",
- "status": "created",
- "payment_type": "origination",
- "direction": "inbound",
- "reason_code": "string",
- "reason_data": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "cross_river_bank",
- "reference_id": "string",
- "sec_code": "string"
}
], - "payment_attempt_count": 0,
- "payment_reject_count": 0,
- "owner_type": "account",
- "owner_id": "string",
- "business_id": "string",
- "settlement_status": "settled",
- "settled_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "returned_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "has_more": true,
- "limit": 0
}
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "entity": "payout",
- "status": "created",
- "payout_number": 0,
- "transaction_count": 0,
- "transaction_summary": [
- {
- "type": "adjustment",
- "count": 0,
- "amount": 0
}
], - "amount": 0,
- "net_amount": 0,
- "fee_amount": 0,
- "batch_fee": 0,
- "reject_fee": 0,
- "latest_payment_data": {
- "id": "string",
- "trace_number": "string",
- "service_type": "standard",
- "description": "string",
- "bank_account_number_mask": "string",
- "bank_account_type": "checking",
- "bank_account_id": "string",
- "status": "created",
- "payment_type": "origination",
- "direction": "inbound",
- "reason_code": "string",
- "reason_data": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "cross_river_bank",
- "reference_id": "string",
- "sec_code": "string"
}, - "payment_data": [
- {
- "id": "string",
- "trace_number": "string",
- "service_type": "standard",
- "description": "string",
- "bank_account_number_mask": "string",
- "bank_account_type": "checking",
- "bank_account_id": "string",
- "status": "created",
- "payment_type": "origination",
- "direction": "inbound",
- "reason_code": "string",
- "reason_data": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "cross_river_bank",
- "reference_id": "string",
- "sec_code": "string"
}
], - "payment_attempt_count": 0,
- "payment_reject_count": 0,
- "owner_type": "account",
- "owner_id": "string",
- "business_id": "string",
- "settlement_status": "settled",
- "settled_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "returned_at": "2019-08-24T14:15:22Z"
}
Fetch a list of payouts for a business
query Parameters
ending_before | string The id of the entity, use to sort in reverse order |
starting_after | string The id of the entity |
limit | number Default: 10 Max value is 50 |
header Parameters
x-business-id required | string |
Responses
Response samples
- 200
- 4XX
- 5XX
{- "data": [
- {
- "id": "string",
- "entity": "payout",
- "status": "created",
- "payout_number": 0,
- "transaction_count": 0,
- "transaction_summary": [
- {
- "type": "adjustment",
- "count": 0,
- "amount": 0
}
], - "amount": 0,
- "net_amount": 0,
- "fee_amount": 0,
- "batch_fee": 0,
- "reject_fee": 0,
- "latest_payment_data": {
- "id": "string",
- "trace_number": "string",
- "service_type": "standard",
- "description": "string",
- "bank_account_number_mask": "string",
- "bank_account_type": "checking",
- "bank_account_id": "string",
- "status": "created",
- "payment_type": "origination",
- "direction": "inbound",
- "reason_code": "string",
- "reason_data": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "cross_river_bank",
- "reference_id": "string",
- "sec_code": "string"
}, - "payment_data": [
- {
- "id": "string",
- "trace_number": "string",
- "service_type": "standard",
- "description": "string",
- "bank_account_number_mask": "string",
- "bank_account_type": "checking",
- "bank_account_id": "string",
- "status": "created",
- "payment_type": "origination",
- "direction": "inbound",
- "reason_code": "string",
- "reason_data": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "cross_river_bank",
- "reference_id": "string",
- "sec_code": "string"
}
], - "payment_attempt_count": 0,
- "payment_reject_count": 0,
- "owner_type": "account",
- "owner_id": "string",
- "business_id": "string",
- "settlement_status": "settled",
- "settled_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "returned_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "has_more": true,
- "limit": 0
}
}
Response samples
- 200
- 4XX
- 5XX
{- "id": "string",
- "plan_type": "FLAT_RATE",
- "effective_date": "string",
- "accepted_cards": [
- {
- "card_type": "visa",
- "discount_fee": {
- "card_present_bps": 0,
- "card_not_present_bps": 0
}, - "state": "ACTIVE"
}
], - "auth_fee": {
- "card_present": 0,
- "card_not_present": 0
}, - "fees": {
- "chargeback": 0,
- "retrieval": 0,
- "batch": 0,
- "application": 0,
- "monthly_minimum": 0,
- "pci_non_compliance": 0,
- "gateway": 0,
- "early_cancellation": 0,
- "regulatory_product": 0,
- "dda_reject": 0,
- "platform": 0,
- "token": 0
}, - "fees_paid_by_partner": {
- "chargeback": true,
- "retrieval": true,
- "batch": true,
- "application": true,
- "monthly_minimum": true,
- "pci_non_compliance": true,
- "gateway": true,
- "early_cancellation": true,
- "regulatory_product": true,
- "dda_reject": true,
- "platform": true,
- "token": true,
- "linking_fee": true,
- "reject_fee": true,
- "reversal_fee": true,
- "ach_linking": true,
- "ach_reject": true,
- "ach_reversal": true
}, - "partner_pays_chargeback_amount": true,
- "comment": "string",
- "interchange_cost": "GROSS",
- "bank_processing_plan_settings": {
- "fees": {
- "ach_per_transaction": 0,
- "same_day_ach_per_transaction": 0,
- "ach_bps": 0,
- "same_day_ach_bps": 0,
- "ach_max": 0,
- "same_day_ach_max": 0,
- "linking_fee": 0,
- "reject_fee": 0,
- "reversal_fee": 0
}, - "service_type": "standard"
}
}