API documentation
User
Tenant
Feature
Entitlement
User & permissions
Settings
- Settings
- Media
- Webhook
- Notification
Payment
- Payment Method
- Transaction
- SEPA XML
- Open Banking
- Bank Account Transaction
Customer
- Customer
- Customer Address
- Customer Email
- Customer Settings
- Customer Otp
Billing
- Invoice
- Invoice Position Item
- Billing Run
Dunning
- Dunning Document
- Dunning Rule
Subscription
- Subscription
- Subscription Item
- Subscription Measurement
- Billing Group
Offers
- Offer
- Offer Recipient
- Offer Template
Catalogue
- Unit
- Measurement
- Product
- Product Family
- Price Plan
- Coupon
Checkout
- Checkout Link
- Cart
Accounting
Migrate stripe payment methods
Assigns stripe customer ids to fynn customers, which are matched by email. After that, all not expired and attached payment methods will be created in fynn.
Required permissions:payment-method:migrate
[
{
"migrated": {
"customer_id": "ad8f7a8d-7a8d-7a8d-7a8d-7a8d7a8d7a8d",
"customer_name": "Max Mustermann",
"customer_number": "123456",
"customer_email": "max@mustermann.de",
"payment_method_id": "pm_1J5gqz2eZvKYlo2C2X2X2X2X",
"payment_method_type": "card",
"payment_method_name": "Visa (4242)"
},
"skipped": {
"reason": "already_exists",
"customer_id": "ad8f7a8d-7a8d-7a8d-7a8d-7a8d7a8d7a8d",
"customer_name": "Max Mustermann",
"customer_number": "123456",
"customer_email": "max@mustermann.de",
"payment_method_id": "pm_1J5gqz2eZvKYlo2C2X2X2X2X",
"payment_method_type": "card",
"payment_method_name": "Visa (4242)"
}
}
]
Authorizations
Value for the Authorization header parameter.
Response
The id of the fynn customer
"ad8f7a8d-7a8d-7a8d-7a8d-7a8d7a8d7a8d"
The name of the fynn customer
"Max Mustermann"
The customer number of the fynn customer
"123456"
The email of the fynn customer which is used to match the stripe customer
"max@mustermann.de"
The id of the stripe payment method
"pm_1J5gqz2eZvKYlo2C2X2X2X2X"
The type of the stripe payment method
card
, sepa_debit
"card"
The name of the stripe payment method, on cards the last 4 digits are appended. Otherwise only the type is used.
"Visa (4242)"
The reason why the payment method was skipped
already_exists
, expired
, customer_not_found_in_app
"already_exists"
The id of the fynn customer
"ad8f7a8d-7a8d-7a8d-7a8d-7a8d7a8d7a8d"
The name of the fynn customer
"Max Mustermann"
The customer number of the fynn customer
"123456"
The email of the fynn customer which is used to match the stripe customer
"max@mustermann.de"
The id of the stripe payment method
"pm_1J5gqz2eZvKYlo2C2X2X2X2X"
The type of the stripe payment method
card
, sepa_debit
"card"
The name of the stripe payment method, on cards the last 4 digits are appended. Otherwise only the type is used.
"Visa (4242)"
Was this page helpful?
[
{
"migrated": {
"customer_id": "ad8f7a8d-7a8d-7a8d-7a8d-7a8d7a8d7a8d",
"customer_name": "Max Mustermann",
"customer_number": "123456",
"customer_email": "max@mustermann.de",
"payment_method_id": "pm_1J5gqz2eZvKYlo2C2X2X2X2X",
"payment_method_type": "card",
"payment_method_name": "Visa (4242)"
},
"skipped": {
"reason": "already_exists",
"customer_id": "ad8f7a8d-7a8d-7a8d-7a8d-7a8d7a8d7a8d",
"customer_name": "Max Mustermann",
"customer_number": "123456",
"customer_email": "max@mustermann.de",
"payment_method_id": "pm_1J5gqz2eZvKYlo2C2X2X2X2X",
"payment_method_type": "card",
"payment_method_name": "Visa (4242)"
}
}
]