post https://public-api.easyship.com/2024-09/payment_sources
Create a payment sources.
Easyship won't hold the details of your credit card. We use stripe token
to attach the credit card to your easyship account on Stripe.
Please upload your credit card to stripe via Stripe Token JS.
Example:
Stripe Token JS Example
```html ```When the credit card needs 3DS (with response status code 202), proceed with the next step found in POST /2024-09/payment_sources/confirm
.
If the payment source type is bank account, you'll receive a status code 202, indicating the need to submit the bank account information.
Easyship won't hold the details of your bank account. We use setup intent
to attach the bank account to your easyship account on Stripe.
Note: A bank account payment source is only available for US companies.
Example:
Stripe Bank Account JS Example
```html<details>
Once the bank account information has been submitted successfully, proceed with the next step found in `POST /2024-09/payment_sources/confirm`.
Required authorization scope: `public.payment_source:write`