CreateStoreInput
Input for createStore.
input CreateStoreInput {
name: String
address: AddressInput
phone: String
email: String
website: String
metadata: [KeyValueInput!]
blocked: Boolean
iban: String
vopRequestId: ID
ibanCertDocumentId: ID
scaChallengeId: ID
}
Fields
CreateStoreInput.name ● String scalar
Store name.
CreateStoreInput.address ● AddressInput input
Postal address of the store.
CreateStoreInput.phone ● String scalar
Contact phone number. Saved in E.164 format, like +34666777888. A number without a country code takes the country of address, else of the account business. A number that is still not valid fails with the error Invalid phone number format.
CreateStoreInput.email ● String scalar
Contact email. Must be a valid email address.
CreateStoreInput.website ● String scalar
Website URL, with http or https.
CreateStoreInput.metadata ● [KeyValueInput!] list input
Custom key/value metadata. A key has at most 50 characters, a value at most 500.
CreateStoreInput.blocked ● Boolean scalar
Ignored: the value is not saved.
CreateStoreInput.iban ● String scalar
New IBAN that receives the settlements of the payments of this store, without spaces and in capital letters. Needs exactly one proof that the IBAN belongs to the account, vopRequestId or ibanCertDocumentId, and a strong customer authentication of the signed-in user, scaChallengeId, so only a dashboard user can set it. Fails with the error IBAN_PROOF_INVALID when the proof does not prove this IBAN, and with SCA_REQUIRED until the authentication is valid. null or an empty value fails: MONEI support removes the IBAN of a store.
CreateStoreInput.vopRequestId ● ID scalar
Proof of iban: the id of a MATCH of startStoreBankAccountVerification for this IBAN, started in the last 30 minutes, while the account's legal name is confirmed by the business registry. Only with iban.
CreateStoreInput.ibanCertDocumentId ● ID scalar
Proof of iban: the ID of an approved STORE_IBAN_CERT document of the account for this IBAN, issued in the last 3 months, while the account's legal name is confirmed by the business registry. Only with iban.
CreateStoreInput.scaChallengeId ● ID scalar
The strong customer authentication of iban (type STORE_IBAN), from confirmSca. The dashboard sends it. Valid once.
Member Of
createStore mutation