Issuing beta migration guide
Learn how to migrate from the Issuing beta.
Stripe Issuing recently became generally available for all US businesses. When we exited our beta, we released pricing and changes to our API, which include features and updates to support its long-term evolution. Depending on your integration, some of these API changes will be breaking, so pay extra attention to every item in this guide.
We will be discontinuing the beta API on March 1, 2021. Below we have outlined all the changes to the API to help with your migration. Please contact support with any questions.
Compatibility
Caution
As noted in each section, we recommend supporting both the old and new API until you’ve officially switched over. We also recommend creating a new Issuing account to test out the new API before switching over on your main account.
Attributes
For beta users, both legacy and new attributes are currently available on all Issuing objects. Renamed attributes point to the same backend value as their legacy counterpart. When the beta is discontinued, only the new attributes will be available.
To prepare, we recommend switching reads to support both the old and new attribute until you have successfully switched over to the new API.
Parameters
For renamed parameters, either the legacy or new name can be used but not both. When the beta is discontinued, only the new parameters will be accepted.
To prepare, we recommend switching writes to support both the old and new param until you have successfully switched over to the new API.
Enums
Transitioning to new enum values will be slightly more complicated. New values can be written and read back but old, existing values will continue to be returned until the beta is officially discontinued.
For example, the Cardholder type of business_ has been renamed company. Existing cardholder objects will continue to show the old value, business_. New objects can be created with business_ or company and whichever value is provided will be returned when read back.
To prepare, we recommend switching writes to the new value (for example, when creating a new cardholder set type to company) and handling either value on reads.
API Changes
Authorization
- Replaced
held_withamount amount.amountwill always be the total sum authorized or denied for capture in the cardholder currency. Unlikeheld_, it will not drop to zero upon capture.amount - Amount held by an authorization can be obtained by sum of its balance_transactions amounts.
- Renamed
held_tocurrency currency. - Replaced
authorized_withamount merchant_.amount merchant_will always be the total sum authorized or denied for capture in the merchant currency. Unlikeamount authorized_,amount merchant_can be reduced by reversals.amount - Renamed
authorized_tocurrency merchant_.currency - Renamed
held_toamount amountin the approve an authorization endpoint. - Added a pending_request hash. This will only be populated during a synchronous webhook request for real-time authorizations.
- Replaced
pending_withheld_ amount pending_.request. amount - Replaced
pending_withauthorized_ amount pending_.request. merchant_ amount - Replaced
is_withheld_ amount_ controllable pending_.request. is_ amount_ controllable
- Replaced
- Renamed attributes of hashes in request_history:
- Renamed
request_tohistory. held_ amount request_.history. amount - Renamed
request_tohistory. held_ currency request_.history. currency - Renamed
request_tohistory. authorized_ amount request_.history. merchant_ amount - Renamed
request_tohistory. authorized_ currency request_.history. merchant_ currency - Removed
request_.history. violated_ authorization_ controls
- Renamed
- Discontinued several values for request_history.reason.
authentication_,failed incorrect_, andcvc incorrect_have been consolidated intoexpiry verification_. For more detail, use authorization.verification_data.failed account_andcompliance_ disabled account_have been replaced withinactive account_.disabled authorization_was renamedcontrols spending_to be consistent with the renamed attributes in the Card and Cardholder resources.controls
- Discontinued
verification_enum in favor of the more descriptivedata. authentication verification_hash.data. three_ d_ secure three_, which replacesd_ secure. result authentication, contains more values than before. A full overview of the new values can be found here.- This attribute will only be visible to users enrolled in the 3D Secure feature.
- Renamed
verification_to verification_data.address_postal_code_check.data. address_ zip_ check - Renamed
wallet_attribute toprovider wallet.
Transaction
- Removed the following type values since they were uncommon and can be represented in other ways:
cash_(nowwithdrawal capture)refund_(nowreversal refundwith negativeamount)disputeanddispute_. A Disputes API is under development.loss
- Stopped creating a second
Transactionof typedisputeto represent a wonDispute’s money movement. Instead, we will addbalance_directly to thetransactions Dispute.- Consequently, there will be no
issuing_event fortransaction. created Disputemoney movement. Instead, we’ll have a new event which will send the updatedDisputewithbalance_.transactions
- Consequently, there will be no
- Removed
disputequery param from list all transactions endpoint. - Restricted
settlementquery param from list all transactions endpoint to Settlement feature users. - Added
purchase_for enhanced transaction data.details
Cardholder
- Removed the
is_attribute. As a consequence,default cardholderis a required parameter when creating a new card. The list all cardholders endpoint no longer acceptsis_as a query parameter.default - Renamed type from
business_toentity companyto better align with hashes that contain additional information. - Removed
billing.since it’s always the same as the top-levelname nameattribute on the resource. - Renamed
authorization_to spending_controls.controls
Card
- Removed
lostandstolencard statuses. These are represented as canceled with an optional cancellation_reason provided. - Renamed
authorization_to spending_controls.controls
- Renamed replacement_reason values:
losstolostthefttostolendamagetodamagedexpirationtoexpired
- Removed
name. Please refer to cardholder.name instead. - Renamed
shipping.enum to shipping.service. Thespeed overnightvalue has been renamedpriority. - Added replaced_by, to point to the card that replaced the current card.
- Renamed
authorization_to spending_controls and removedcontrols max_,approvals max_, andamount currency. We recommend usingamount-based limits for more accurate control over card spend. merchant_will only be available to users enrolled in 3D Secure feature.data. url pinwill only be available to users enrolled in PIN management feature.- The list all cards endpoint will no longer accept
sourceandnameparameters. - The retrieve card details endpoint has been discontinued. Instead, number and cvc can be expanded from the retrieve endpoint.
Disputes
- Renamed
disputed_totransaction transaction. - Added
balance_which will contain all BalanceTransactions associated with atransactions Dispute.- Each
BalanceTransactionwill have a newtype,source,descriptionandreporting_corresponding to an Issuingcategory Disputeas follows:type: "issuing_dispute" source: "idp_1FMjf1GprvsjVv9gffmDmLGx" description: "Issuing dispute"reporting_category: "Issuing Dispute"
- Each
- We will send a new event,
issuing_, with the updateddispute. funds_ reinstated Disputeand newBalanceTransactionwhen aDisputehas been won.
Events
- The following events are restricted to users enrolled in the Settlement feature:
issuing_settlement. created issuing_settlement. updated
Balances
- The
issuing.balance has been removed from the Balance object. Please refer to the issuing.available balance instead.pending