/v1/tax_ids
Returns a list of tax IDs.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ending_before | query | optional | string | A cursor for use in pagination. |
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| limit | query | optional | integer | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| owner | query | optional | object | The account or customer the tax ID belongs to. Defaults to |
| starting_after | query | optional | string | A cursor for use in pagination. |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/tax_ids
/v1/tax_ids
Creates a new account or customer tax_id object.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| type | string | required |
| owner | object | optional |
| └ type | string | required |
| └ account | string | optional |
| └ customer | string | optional |
| └ customer_account | string | optional |
| value | string | required |
| expand | array | optional |
Error response.
Successful response.
POST /v1/tax_ids
/v1/tax_ids/{id}
Deletes an existing account or customer tax_id object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
DELETE /v1/tax_ids/{id}
/v1/tax_ids/{id}
Retrieves an account or customer tax_id object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| id | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/tax_ids/{id}
/v1/tax_rates
Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| active | query | optional | boolean | Optional flag to filter by tax rates that are either active or inactive (archived). |
| created | query | optional | Optional range for filtering created date. |
|
| ending_before | query | optional | string | A cursor for use in pagination. |
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| inclusive | query | optional | boolean | Optional flag to filter by tax rates that are inclusive (or those that are not inclusive). |
| limit | query | optional | integer | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| starting_after | query | optional | string | A cursor for use in pagination. |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/tax_rates
/v1/tax_rates
Creates a new tax rate.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| state | string | optional |
| active | boolean | optional |
| expand | array | optional |
| country | string | optional |
| metadata | object | optional |
| tax_type | string | optional |
| inclusive | boolean | required |
| percentage | number | required |
| description | string | optional |
| display_name | string | required |
| jurisdiction | string | optional |
Error response.
Successful response.
POST /v1/tax_rates
/v1/tax_rates/{tax_rate}
Retrieves a tax rate with the given ID
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| tax_rate | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/tax_rates/{tax_rate}
/v1/tax_rates/{tax_rate}
Updates an existing tax rate.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| tax_rate | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| state | string | optional |
| active | boolean | optional |
| expand | array | optional |
| country | string | optional |
| metadata | object | optional |
| tax_type | string | optional |
| description | string | optional |
| display_name | string | optional |
| jurisdiction | string | optional |
Error response.
Successful response.
POST /v1/tax_rates/{tax_rate}
/v1/terminal/configurations
Returns a list of Configuration objects.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ending_before | query | optional | string | A cursor for use in pagination. |
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| is_account_default | query | optional | boolean | if present, only return the account default or non-default configurations. |
| limit | query | optional | integer | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| starting_after | query | optional | string | A cursor for use in pagination. |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/terminal/configurations
/v1/terminal/configurations
Creates a new Configuration object.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| wifi | object | optional |
| expand | array | optional |
| offline | object | optional |
| tipping | object | optional |
| cellular | object | optional |
| stripe_s700 | object | optional |
| └ splashscreen | object | optional |
| stripe_s710 | object | optional |
| └ splashscreen | object | optional |
| reboot_window | object | optional |
| └ end_hour | integer | required |
| └ start_hour | integer | required |
| verifone_p400 | object | optional |
| └ splashscreen | object | optional |
| bbpos_wisepad3 | object | optional |
| └ splashscreen | object | optional |
| bbpos_wisepos_e | object | optional |
| └ splashscreen | object | optional |
Error response.
Successful response.
POST /v1/terminal/configurations
/v1/terminal/configurations/{configuration}
Deletes a Configuration object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| configuration | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
DELETE /v1/terminal/configurations/{configuration}
/v1/terminal/configurations/{configuration}
Retrieves a Configuration object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| configuration | path | required | string | — |
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/terminal/configurations/{configuration}
/v1/terminal/configurations/{configuration}
Updates a new Configuration object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| configuration | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| wifi | object | optional |
| expand | array | optional |
| offline | object | optional |
| tipping | object | optional |
| cellular | object | optional |
| stripe_s700 | object | optional |
| stripe_s710 | object | optional |
| reboot_window | object | optional |
| verifone_p400 | object | optional |
| bbpos_wisepad3 | object | optional |
| bbpos_wisepos_e | object | optional |
Error response.
Successful response.
POST /v1/terminal/configurations/{configuration}
/v1/terminal/connection_tokens
To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| location | string | optional |
Error response.
Successful response.
POST /v1/terminal/connection_tokens
/v1/terminal/locations
Returns a list of Location objects.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ending_before | query | optional | string | A cursor for use in pagination. |
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| limit | query | optional | integer | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| starting_after | query | optional | string | A cursor for use in pagination. |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/terminal/locations
/v1/terminal/locations
Creates a new Location object.
For further details, including which address fields are required in each country, see the Manage locations guide.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| phone | string | optional |
| expand | array | optional |
| address | object | optional |
| └ city | string | optional |
| └ line1 | string | optional |
| └ line2 | string | optional |
| └ state | string | optional |
| └ country | string | required |
| └ postal_code | string | optional |
| metadata | object | optional |
| address_kana | object | optional |
| └ city | string | optional |
| └ town | string | optional |
| └ line1 | string | optional |
| └ line2 | string | optional |
| └ state | string | optional |
| └ country | string | optional |
| └ postal_code | string | optional |
| display_name | string | optional |
| address_kanji | object | optional |
| └ city | string | optional |
| └ town | string | optional |
| └ line1 | string | optional |
| └ line2 | string | optional |
| └ state | string | optional |
| └ country | string | optional |
| └ postal_code | string | optional |
| display_name_kana | string | optional |
| display_name_kanji | string | optional |
| configuration_overrides | string | optional |
Error response.
Successful response.
POST /v1/terminal/locations
/v1/terminal/locations/{location}
Deletes a Location object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| location | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
DELETE /v1/terminal/locations/{location}
/v1/terminal/locations/{location}
Retrieves a Location object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| location | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/terminal/locations/{location}
/v1/terminal/locations/{location}
Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| location | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| phone | object | optional |
| expand | array | optional |
| address | object | optional |
| └ city | string | optional |
| └ line1 | string | optional |
| └ line2 | string | optional |
| └ state | string | optional |
| └ country | string | optional |
| └ postal_code | string | optional |
| metadata | object | optional |
| address_kana | object | optional |
| └ city | string | optional |
| └ town | string | optional |
| └ line1 | string | optional |
| └ line2 | string | optional |
| └ state | string | optional |
| └ country | string | optional |
| └ postal_code | string | optional |
| display_name | object | optional |
| address_kanji | object | optional |
| └ city | string | optional |
| └ town | string | optional |
| └ line1 | string | optional |
| └ line2 | string | optional |
| └ state | string | optional |
| └ country | string | optional |
| └ postal_code | string | optional |
| display_name_kana | object | optional |
| display_name_kanji | object | optional |
| configuration_overrides | object | optional |
Error response.
Successful response.
POST /v1/terminal/locations/{location}
/v1/terminal/onboarding_links
Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| link_type | string | required |
| link_options | object | required |
| └ apple_terms_and_conditions | object | optional |
| └ allow_relinking | boolean | optional |
| └ merchant_display_name | string | required |
| on_behalf_of | string | optional |
Error response.
Successful response.
POST /v1/terminal/onboarding_links
/v1/terminal/readers
Returns a list of Reader objects.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| device_type | query | optional | string | Filters readers by device type |
| ending_before | query | optional | string | A cursor for use in pagination. |
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| limit | query | optional | integer | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| location | query | optional | string | A location ID to filter the response list to only readers at the specific location |
| serial_number | query | optional | string | Filters readers by serial number |
| starting_after | query | optional | string | A cursor for use in pagination. |
| status | query | optional | string | A status filter to filter readers to only offline or online readers |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/terminal/readers
/v1/terminal/readers
Creates a new Reader object.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| label | string | optional |
| expand | array | optional |
| location | string | optional |
| metadata | object | optional |
| registration_code | string | required |
Error response.
Successful response.
POST /v1/terminal/readers
/v1/terminal/readers/{reader}
Deletes a Reader object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
DELETE /v1/terminal/readers/{reader}
/v1/terminal/readers/{reader}
Retrieves a Reader object.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| expand | query | optional | array | Specifies which fields in the response should be expanded. |
| reader | path | required | string | — |
application/x-www-form-urlencoded
Error response.
Successful response.
GET /v1/terminal/readers/{reader}
/v1/terminal/readers/{reader}
Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| label | object | optional |
| expand | array | optional |
| metadata | object | optional |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}
/v1/terminal/readers/{reader}/cancel_action
Cancels the current reader action. See Programmatic Cancellation for more details.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/cancel_action
/v1/terminal/readers/{reader}/collect_inputs
Initiates an input collection flow on a Reader to display input forms and collect information from your customers.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| inputs | array | required |
| └ type | string | required |
| └ toggles | array | optional |
| └ title | string | optional |
| └ description | string | optional |
| └ default_value | string | optional |
| └ required | boolean | optional |
| └ selection | object | optional |
| └ choices | array | required |
| └ id | string | required |
| └ text | string | required |
| └ style | string | optional |
| └ custom_text | object | required |
| └ title | string | required |
| └ description | string | optional |
| └ skip_button | string | optional |
| └ submit_button | string | optional |
| metadata | object | optional |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/collect_inputs
/v1/terminal/readers/{reader}/collect_payment_method
Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See Collecting a Payment method for more details.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| collect_config | object | optional |
| └ tipping | object | optional |
| └ amount_eligible | integer | optional |
| └ skip_tipping | boolean | optional |
| └ allow_redisplay | string | optional |
| └ enable_customer_cancellation | boolean | optional |
| payment_intent | string | required |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/collect_payment_method
/v1/terminal/readers/{reader}/confirm_payment_intent
Finalizes a payment on a Reader. See Confirming a Payment for more details.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| confirm_config | object | optional |
| └ return_url | string | optional |
| payment_intent | string | required |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/confirm_payment_intent
/v1/terminal/readers/{reader}/process_payment_intent
Initiates a payment flow on a Reader. See process the payment for more details.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| payment_intent | string | required |
| process_config | object | optional |
| └ tipping | object | optional |
| └ amount_eligible | integer | optional |
| └ return_url | string | optional |
| └ skip_tipping | boolean | optional |
| └ allow_redisplay | string | optional |
| └ enable_customer_cancellation | boolean | optional |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/process_payment_intent
/v1/terminal/readers/{reader}/process_setup_intent
Initiates a SetupIntent flow on a Reader. See Save directly without charging for more details.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| setup_intent | string | required |
| process_config | object | optional |
| └ enable_customer_cancellation | boolean | optional |
| allow_redisplay | string | required |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/process_setup_intent
/v1/terminal/readers/{reader}/refund_payment
Initiates an in-person refund on a Reader. See Refund an Interac Payment for more details.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| amount | integer | optional |
| charge | string | optional |
| expand | array | optional |
| metadata | object | optional |
| payment_intent | string | optional |
| reverse_transfer | boolean | optional |
| refund_payment_config | object | optional |
| └ enable_customer_cancellation | boolean | optional |
| refund_application_fee | boolean | optional |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/refund_payment
/v1/terminal/readers/{reader}/set_reader_display
Sets the reader display to show cart details.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| reader | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| cart | object | optional |
| └ tax | integer | optional |
| └ total | integer | required |
| └ currency | string | required |
| └ line_items | array | required |
| └ amount | integer | required |
| └ quantity | integer | required |
| └ description | string | required |
| type | string | required |
| expand | array | optional |
Error response.
Successful response.
POST /v1/terminal/readers/{reader}/set_reader_display
/v1/terminal/refunds
Internal endpoint for terminal use to create a refund for a card_present charge. This endpoint only supports card_present payment method types (excludes interac_present).
You can optionally refund only part of a charge.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| amount | integer | optional |
| charge | string | optional |
| expand | array | optional |
| reason | string | optional |
| metadata | object | optional |
| payment_intent | string | optional |
| reverse_transfer | boolean | optional |
| refund_application_fee | boolean | optional |
Error response.
Successful response.
POST /v1/terminal/refunds
/v1/test_helpers/confirmation_tokens
Creates a test mode Confirmation Token server side for your integration tests.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| shipping | object | optional |
| └ name | string | required |
| └ phone | object | optional |
| └ address | object | required |
| └ city | string | optional |
| └ line1 | string | optional |
| └ line2 | string | optional |
| └ state | string | optional |
| └ country | string | optional |
| └ postal_code | string | optional |
| return_url | string | optional |
| payment_method | string | optional |
| setup_future_usage | string | optional |
| payment_method_data | object | optional |
| └ eps | object | optional |
| └ bank | string | optional |
| └ fpx | object | optional |
| └ bank | string | required |
| └ p24 | object | optional |
| └ bank | string | optional |
| └ pix | object | optional |
| └ upi | object | optional |
| └ mandate_options | object | optional |
| └ amount | integer | optional |
| └ end_date | integer | optional |
| └ amount_type | string | optional |
| └ description | string | optional |
| └ zip | object | optional |
| └ alma | object | optional |
| └ blik | object | optional |
| └ link | object | optional |
| └ oxxo | object | optional |
| └ type | string | required |
| └ ideal | object | optional |
| └ bank | string | optional |
| └ payco | object | optional |
| └ payto | object | optional |
| └ pay_id | string | optional |
| └ bsb_number | string | optional |
| └ account_number | string | optional |
| └ swish | object | optional |
| └ twint | object | optional |
| └ affirm | object | optional |
| └ alipay | object | optional |
| └ billie | object | optional |
| └ boleto | object | optional |
| └ tax_id | string | required |
| └ …37 more | object | optional |
| payment_method_options | object | optional |
| └ card | object | optional |
| └ installments | object | optional |
| └ plan | object | required |
Error response.
Successful response.
POST /v1/test_helpers/confirmation_tokens
/v1/test_helpers/customers/{customer}/fund_cash_balance
Create an incoming testmode bank transfer
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| customer | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| amount | integer | required |
| expand | array | optional |
| currency | string | required |
| reference | string | optional |
Error response.
Successful response.
POST /v1/test_helpers/customers/{customer}/fund_cash_balance
/v1/test_helpers/issuing/authorizations
Create a test-mode authorization.
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| card | string | required |
| fuel | object | optional |
| └ type | string | optional |
| └ unit | string | optional |
| └ quantity_decimal | string | optional |
| └ unit_cost_decimal | string | optional |
| └ industry_product_code | string | optional |
| fleet | object | optional |
| └ service_type | string | optional |
| └ purchase_type | string | optional |
| └ reported_breakdown | object | optional |
| └ tax | object | optional |
| └ local_amount_decimal | string | optional |
| └ national_amount_decimal | string | optional |
| └ fuel | object | optional |
| └ gross_amount_decimal | string | optional |
| └ non_fuel | object | optional |
| └ gross_amount_decimal | string | optional |
| └ cardholder_prompt_data | object | optional |
| └ user_id | string | optional |
| └ odometer | integer | optional |
| └ driver_id | string | optional |
| └ unspecified_id | string | optional |
| └ vehicle_number | string | optional |
| amount | integer | optional |
| expand | array | optional |
| wallet | string | optional |
| currency | string | optional |
| network_data | object | optional |
| └ acquiring_institution_id | string | optional |
| merchant_data | object | optional |
| └ url | string | optional |
| └ city | string | optional |
| └ name | string | optional |
| └ state | string | optional |
| └ country | string | optional |
| └ category | string | optional |
| └ network_id | string | optional |
| └ postal_code | string | optional |
| └ terminal_id | string | optional |
| amount_details | object | optional |
| └ atm_fee | integer | optional |
| └ cashback_amount | integer | optional |
| merchant_amount | integer | optional |
| risk_assessment | object | optional |
| └ fraud_risk | object | optional |
| └ level | string | required |
| └ score | number | optional |
| └ card_testing_risk | object | optional |
| └ level | string | required |
| └ invalid_credentials_decline_rate_past_hour | integer | optional |
| └ invalid_account_number_decline_rate_past_hour | integer | optional |
| └ merchant_dispute_risk | object | optional |
| └ level | string | required |
| └ dispute_rate | integer | optional |
| merchant_currency | string | optional |
| verification_data | object | optional |
| └ cvc_check | string | optional |
| └ expiry_check | string | optional |
| └ three_d_secure | object | optional |
| └ result | string | required |
| └ address_line1_check | string | optional |
| └ authentication_exemption | object | optional |
| └ type | string | required |
| └ claimed_by | string | required |
| └ address_postal_code_check | string | optional |
| authorization_method | string | optional |
| is_amount_controllable | boolean | optional |
| fraud_disputability_likelihood | string | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/authorizations
/v1/test_helpers/issuing/authorizations/{authorization}/capture
Capture a test-mode authorization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authorization | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| capture_amount | integer | optional |
| purchase_details | object | optional |
| └ fuel | object | optional |
| └ type | string | optional |
| └ unit | string | optional |
| └ quantity_decimal | string | optional |
| └ unit_cost_decimal | string | optional |
| └ industry_product_code | string | optional |
| └ fleet | object | optional |
| └ service_type | string | optional |
| └ purchase_type | string | optional |
| └ reported_breakdown | object | optional |
| └ tax | object | optional |
| └ fuel | object | optional |
| └ non_fuel | object | optional |
| └ cardholder_prompt_data | object | optional |
| └ user_id | string | optional |
| └ odometer | integer | optional |
| └ driver_id | string | optional |
| └ unspecified_id | string | optional |
| └ vehicle_number | string | optional |
| └ flight | object | optional |
| └ segments | array | optional |
| └ carrier | string | optional |
| └ flight_number | string | optional |
| └ service_class | string | optional |
| └ stopover_allowed | boolean | optional |
| └ arrival_airport_code | string | optional |
| └ departure_airport_code | string | optional |
| └ refundable | boolean | optional |
| └ departure_at | integer | optional |
| └ travel_agency | string | optional |
| └ passenger_name | string | optional |
| └ lodging | object | optional |
| └ nights | integer | optional |
| └ check_in_at | integer | optional |
| └ receipt | array | optional |
| └ total | integer | optional |
| └ quantity | string | optional |
| └ unit_cost | integer | optional |
| └ description | string | optional |
| └ reference | string | optional |
| close_authorization | boolean | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/authorizations/{authorization}/capture
/v1/test_helpers/issuing/authorizations/{authorization}/expire
Expire a test-mode Authorization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authorization | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/authorizations/{authorization}/expire
/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount
Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authorization | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| fuel | object | optional |
| └ type | string | optional |
| └ unit | string | optional |
| └ quantity_decimal | string | optional |
| └ unit_cost_decimal | string | optional |
| └ industry_product_code | string | optional |
| fleet | object | optional |
| └ service_type | string | optional |
| └ purchase_type | string | optional |
| └ reported_breakdown | object | optional |
| └ tax | object | optional |
| └ local_amount_decimal | string | optional |
| └ national_amount_decimal | string | optional |
| └ fuel | object | optional |
| └ gross_amount_decimal | string | optional |
| └ non_fuel | object | optional |
| └ gross_amount_decimal | string | optional |
| └ cardholder_prompt_data | object | optional |
| └ user_id | string | optional |
| └ odometer | integer | optional |
| └ driver_id | string | optional |
| └ unspecified_id | string | optional |
| └ vehicle_number | string | optional |
| expand | array | optional |
| final_amount | integer | required |
Error response.
Successful response.
POST /v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount
/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond
Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authorization | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| confirmed | boolean | required |
Error response.
Successful response.
POST /v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond
/v1/test_helpers/issuing/authorizations/{authorization}/increment
Increment a test-mode Authorization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authorization | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| increment_amount | integer | required |
| is_amount_controllable | boolean | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/authorizations/{authorization}/increment
/v1/test_helpers/issuing/authorizations/{authorization}/reverse
Reverse a test-mode Authorization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authorization | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
| reverse_amount | integer | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/authorizations/{authorization}/reverse
/v1/test_helpers/issuing/cards/{card}/shipping/deliver
Updates the shipping status of the specified Issuing Card object to delivered.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| card | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/cards/{card}/shipping/deliver
/v1/test_helpers/issuing/cards/{card}/shipping/fail
Updates the shipping status of the specified Issuing Card object to failure.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| card | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/cards/{card}/shipping/fail
/v1/test_helpers/issuing/cards/{card}/shipping/return
Updates the shipping status of the specified Issuing Card object to returned.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| card | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/cards/{card}/shipping/return
/v1/test_helpers/issuing/cards/{card}/shipping/ship
Updates the shipping status of the specified Issuing Card object to shipped.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| card | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/cards/{card}/shipping/ship
/v1/test_helpers/issuing/cards/{card}/shipping/submit
Updates the shipping status of the specified Issuing Card object to submitted. This method requires Stripe Version ‘2024-09-30.acacia’ or later.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| card | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/cards/{card}/shipping/submit
/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate
Updates the status of the specified testmode personalization design object to active.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| personalization_design | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate
/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate
Updates the status of the specified testmode personalization design object to inactive.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| personalization_design | path | required | string | — |
application/x-www-form-urlencoded
| Property | Type | Required |
|---|---|---|
| expand | array | optional |
Error response.
Successful response.
POST /v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate