Skip to main content
DELETE
aid_account_management_stores_sid_bax_merchant_agreements_agid_delete

Authorizations

Authorization
string
header
required

Bearer authentication (token authentication) should be used for accessing the API.

Use Get Token to get an access token for client credentials. Pass the token in the request header:

where the access_token is JSON Web Tokens (JWT).

Path Parameters

aid
string<^[PT]{1}\d{8}$>
required

An id that uniquely identifies the account.

Required string length: 9
store_id
string
required

Store ID as returned in the store creation response.

Maximum string length: 255
agreement_id
string<uuid>
required

BAX merchant agreement ID

Response

BAX merchant agreement

A BankAxept merchant agreement registered for a store. Agreements are never updated, only deleted. The most recent agreement for a store that isn't deleted is the current one.

bax_number
string
required

BankAxept merchant number. Unique across all agreements that aren't deleted.

Pattern: ^\d{6,7}$
Example:

"1234567"

organization_number
string
required

Organization number on the agreement

Example:

"123456789"

name
string
required

Name on the agreement

Example:

"Dintero Oslo"

address
object
required

Visiting address on the agreement

id
string<uuid>
required
read-only
status
enum<string>
required
  • valid - the agreement matches the store
  • mismatch - the store no longer matches the agreement, see mismatched_fields. Create a new agreement, or change the store back so it matches.

The status is checked again when the store or its payout destination changes.

Available options:
valid,
mismatch
store_id
string
required
read-only
Example:

"T66600000-0001"

payout_destination_id
string
required
read-only

The store's payout destination when the agreement was created

created_at
string<date-time>
required
read-only
created_by
string
required
read-only
updated_at
string<date-time>
required
read-only
updated_by
string
required
read-only
mismatched_fields
enum<string>[]

Fields where the store no longer matches the agreement

Available options:
organization_number,
name,
address_line,
postal_code
deleted_at
string<date-time>
read-only

Only set in the response to a delete, together with deleted_by

deleted_by
string
read-only