airbnb.payment_method.add.complete
View connectorComplete bank approval, vault the verified card and reconcile the wallet
POST /v1/operations/airbnb.payment_method.add.completeHeaders
Authorization: Bearer YOUR_AJAR_API_KEY
x-skyscanner-token: YOUR_SKYSCANNER_TOKEN
x-idempotency-key: YOUR_UNIQUE_ATTEMPT_KEY
Content-Type: application/jsonx-idempotency-key identifies one intended action. Generate a unique value, such as crypto.randomUUID(), before sending it. Use 1–128 letters, numbers, hyphens, underscores or periods. A duplicate attempt is rejected; it does not return a cached success. If a request times out, check the provider’s state before starting a new attempt with a new key. See the idempotency guide.
Inputs
| Parameter | Example type | Example value |
|---|---|---|
| continuation_ref | string | "00000000-0000-4000-8000-000000000001" |
| bank_approved | boolean | true |
Example input
{
"continuation_ref": "00000000-0000-4000-8000-000000000001",
"bank_approved": true
}Illustrative response for the example input. Availability, prices and result order vary. Replace example references and URLs with values returned by your own requests.
Example response
{
"status": "saved",
"payment_method_ref": "example-encrypted-reference",
"currency": "GBP",
"last_four": "1111",
"expiration_month": "12",
"expiration_year": "2040"
}Input schema
{
"$id": "https://useajar.com/schemas/airbnb/payment-method-add-complete.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bank_approved": {
"const": true
},
"continuation_ref": {
"maxLength": 36,
"minLength": 36,
"type": "string",
"x-sensitive": true
}
},
"required": [
"continuation_ref",
"bank_approved"
],
"type": "object"
}