Stripe (external cards)

v1/stripe/public-key

GET/v1/stripe/public-key

Auth: None — public endpoint

Base path: /v1/stripe · Scope: tb:external-cards:read — Stripe is used to top an account up from an external bank card.

GET/v1/stripe/public-key
curl 'https://sandbox-bank.tedr.com/open-banking/v1/stripe/public-key'

v1/stripe/cards

POST/v1/stripe/cards

Auth: Bearer access token — how to use the access token.

Attach an external card to the client.

POST/v1/stripe/cards
curl -X POST 'https://sandbox-bank.tedr.com/open-banking/v1/stripe/cards' \
  -H 'Authorization: Bearer <access-token>' \
  -H 'Content-Type: application/json' \
  -d '{ "cardTokenId": "tok_exampleOCUHBOJJ0oY9zGxGYtQ" }'

GET /v1/stripe/cards

GET/v1/stripe/cards

Auth: Bearer access token — how to use the access token.

Query: ids[], pagination[limit], pagination[skip].

GET/v1/stripe/cards
curl 'https://sandbox-bank.tedr.com/open-banking/v1/stripe/cards' \
  -H 'Authorization: Bearer <access-token>'

GET /v1/stripe/cards/:cardId

GET/v1/stripe/cards/:cardId

Auth: Bearer access token — how to use the access token.

GET/v1/stripe/cards/:cardId
curl 'https://sandbox-bank.tedr.com/open-banking/v1/stripe/cards/<cardId>' \
  -H 'Authorization: Bearer <access-token>'

v1/stripe/payment-intent

POST/v1/stripe/payment-intent

Auth: Bearer access token — how to use the access token.

Top a virtual account up from an attached Stripe card.

Body parameters
NameTypeRequiredDefaultDescription
amountstringRequiredTop-up amount.
creditorAccountIdUUIDRequiredVirtual account to credit.
debitorCardIdstringRequiredAttached Stripe card.
descriptionstringOptionalShown on the Stripe payment.
POST/v1/stripe/payment-intent
curl -X POST 'https://sandbox-bank.tedr.com/open-banking/v1/stripe/payment-intent' \
  -H 'Authorization: Bearer <access-token>' \
  -H 'Content-Type: application/json' \
  -d '{
    "amount": "100",
    "creditorAccountId": "f1df072f-d728-4038-8d1f-f569eaafa92d",
    "debitorCardId": "card_exampleOCUHBOJJ0oYUYH7TKeJ",
    "description": "Top-up via Stripe"
  }'