v1

latestOpenAPI 3.0.32026-07-26170311887.2 KB
Credit

Confirm Credit Top-up

Easyship integrate with Stripe Payment Intent to collect credit card payments. Ref: https://stripe.com/docs/payments/payment-intents

The confirmation process includes the collection of payment and creation of a transaction record (credit) in your account.

Should the payment intent not have undergone 3D Secure, you'll receive a status code 202, indicating the need to process 3D Secure.

Required authorization scope: public.payment:write

post/2024-09/account/credit/confirm_3ds

Request body

intent_idstring required

Reference ID to confirm the credit. If your credit card requires 3DS validation, it could be found in the response of POST /2023-01/account/credit.

Response

payment intent successfully confirmed

Example response

{
  "credit": {
    "currency": "USD"
  }
}