Payer Authorisation

Submit a Payer Authorisation

Submits all the data previously pushed to this PayerAuthorisation for verification. This time, a 200 HTTP status is returned if the resource is valid and a 422 error response in case of validation errors. After it is successfully submitted, the Payer Authorisation can no longer be edited.

Deprecated: Payer Authorisation is legacy API and cannot be used by new integrators. The Billing Request API should be used for any new integrations.

post/payer_authorisations/{payer_authorisation_id}/actions/submit

Request

  • Base URL
    https://api.gocardless.com
  • Auth
    HTTP bearer

Path parameters

payer_authorisation_idstring required

The payer authorisation id

Headers

GoCardless-Versionstring required

Response

Action completed successfully

Example response

{
  "payer_authorisations": {
    "id": "PA123",
    "created_at": "2020-01-01T12:00:00.000Z",
    "customer": {
      "email": "user@example.com",
      "given_name": "Frank",
      "family_name": "Osborne",
      "company_name": "Hamilton Trading Ltd.",
      "address_line1": "221B Baker Street",
      "address_line2": "Marylebone",
      "address_line3": "City of Westminster",
      "city": "London",
      "region": "Greater London",
      "postal_code": "NW1 6XE",
      "country_code": "GB",
      "locale": "en-GB",
      "swedish_identity_number": "556564-5404",
      "danish_identity_number": "2205506218"
    },
    "bank_account": {
      "account_holder_name": "Billie Jean",
      "account_number": "55779911",
      "account_number_ending": "1234",
      "account_number_suffix": "00",
      "branch_code": "20-00-00",
      "iban": "GB60BARC20000055779911",
      "country_code": "GB",
      "currency": "EUR",
      "account_type": "savings",
      "bank_name": "BARCLAYS BANK PLC"
    },
    "mandate": {
      "reference": "REF-123",
      "scheme": "bacs",
      "payer_ip_address": "127.0.0.1"
    },
    "links": {
      "customer": "CU123",
      "bank_account": "BA123",
      "mandate": "MD123"
    },
    "status": "created"
  }
}

Changes

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