Payments

Submit provider selection

Submit the provider details selected by the end user

This API can be called:

  • using the resource_token associated with the payment you are trying to authorize;
  • using a backend bearer token.
post/v3/payments/{id}/authorization-flow/actions/provider-selection

Request

  • Base URL
    https://api.truelayer-sandbox.com
  • URL
    https://api.truelayer-sandbox.com/v3/payments/{id}/authorization-flow/actions/provider-selection
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://auth.truelayer.com/connect/token scopes: payments
    • or HTTP bearer

Path parameters

idstring required

Unique ID for the Payment

Example:0afd1f6a-f611-48ce-9488-321129bb3a70

ID of the payment

Headers

Idempotency-Keystring

An idempotency key to allow safe retrying without the operation being performed multiple times. The value should be unique for each operation (we strongly advise to use a UUID v4), with the same key being sent on a retry of the same request.

Tl-Signaturestring

A JWS with detached content, signed with your private key. See Request Signing.

Required with a OAuth2 token.

Request body

provider_idstring required
branch_idstring

Unique ID for the branch

Example request

{
  "provider_id": "mock-payments-gb-redirect",
  "branch_id": "xs2a-branch-id"
}

Response

Payment

OR

Changes

No recorded changes to this operation across all 1 revision of this API.