Make vault forward
This endpoint requires the vault-forwards.write
scope.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A comma-separated list of Payment Method IDs that can be used to fill in the request template. At least 1 must be given, and a maximum of 100 are accepted.
"faaad066-30b4-4997-a438-242b0752d7e1,faaad066-30b4-4997-a438-242b0752d7e2"
A Checkout Session IDs that can be used to fill in the request template. At most 1 can be provided.
"faaad066-30b4-4997-a438-242b0752d7e2"
A comma-separated list of IDs for the authentication methods that will be applied to a Vault Forward request.
"faaad066-30b4-4997-a438-242b0752d7e1,faaad066-30b4-4997-a438-242b0752d7e2"
The URL to forward card data to.
"https://api.amadeus.com/booking"
The HTTP method that is used when forwarding the request to the x-vault-forward-url
.
POST
, PUT
, PATCH
"POST"
A header that is forwarded to the x-vault-forward-url
. The header will be
forwarded without the x-vault-forward-header
part. For example,
x-vault-forward-header-x-frame-options: SAMEORIGIN
is forwarded as
x-frame-options: SAMEORIGIN
.
"x-vault-forward-header-x-frame-options"
The number of seconds to wait before timing out when forwarding the request.
x >= 1
10
Body
Payload to forward in the request.
The body is of type string
.
Response
Returns the payload received from the forwarded request. If the request timed out or there was a network error, the payload will be empty instead.
The response is of type string
.