Create BAX merchant agreement
Register a BankAxept (BAX) merchant agreement for the store. The new agreement becomes the store’s current agreement.
The request fails with 400 when:
- the store has no payout destination
- the store’s payout destination is not found
- the agreement doesn’t match the store, see the request body
- the
bax_numberis already used by another agreement
Creating an agreement doesn’t change the store’s status.
scopes:
- admin:dintero
Authorizations
Path Parameters
An id that uniquely identifies the account.
9Store ID as returned in the store creation response.
255Body
A BankAxept (BAX) merchant agreement for the store. The BAX number identifies a point of sale registered with BankAxept by organization number, name and visiting address.
On create, organization_number, name, address.address_line and address.postal_code must match the registered data for the store, otherwise the request fails:
name: the store'sstore_name. If the store has none, the organization'strade_name, then itsname.main_unitstore: the payout destination's organization number and address.sub_unitstore: the sub-unit's organization number and address in the Norwegian business register (BRREG).
Values are compared ignoring case and whitespace.
BankAxept merchant number. Unique across all agreements that aren't deleted.
^\d{6,7}$"1234567"
Organization number on the agreement
"123456789"
Name on the agreement
"Dintero Oslo"
Visiting address on the agreement
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.
BankAxept merchant number. Unique across all agreements that aren't deleted.
^\d{6,7}$"1234567"
Organization number on the agreement
"123456789"
Name on the agreement
"Dintero Oslo"
Visiting address on the agreement
valid- the agreement matches the storemismatch- the store no longer matches the agreement, seemismatched_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.
valid, mismatch "T66600000-0001"
The store's payout destination when the agreement was created
Fields where the store no longer matches the agreement
organization_number, name, address_line, postal_code Only set in the response to a delete, together with deleted_by