Start authorization flow
Start the authorization flow for a payment.
This API can be called:
- using the resource_token associated with the payment you are trying to fetch;
- using a backend bearer token.
Request
- Base URLhttps://api.truelayer-sandbox.com
- URLhttps://api.truelayer-sandbox.com/v3/payments/{id}/authorization-flow
- Auth
- OAuth 2Client credentialsToken URL: https://auth.truelayer.com/connect/token scopes: payments
- or HTTP bearer
Path parameters
Unique ID for the Payment
ID of the payment
Headers
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.
A JWS with detached content, signed with your private key. See Request Signing.
Required with a OAuth2 token.
Used to collect and record end-user IP address. The first IP address in the list will be used as the end-user IP address.
Used to improve end-user's authentication experience based on device type. If omitted, the User-Agent header will be used instead.
Request body
Example request
{
"provider_selection": {},
"scheme_selection": {},
"redirect": {
"return_uri": "https://my-site.com/payment-return"
},
"form": {
"input_types": [
"text"
]
},
"consent": {},
"user_account_selection": {}
}Response
Payment
Changes
No recorded changes to this operation across all 1 revision of this API.