Apple Pay Domains
4 endpoints. Base URL https://api.paymentsonline.io, sandbox https://api.sandbox-paymentsonline.io.
Every request needs payments-api-key and payments-account.
/v1/apple-pay-domainsList all Apple Pay Domains
Returns a list of registered Apple Pay Domains. The Apple Pay Domains are sorted with the most recently created appearing first.
Query parameters
offsetnumberoptionalThe (zero-based) offset of the first item in the collection to return.
limitnumberoptionalThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Responses
200PaginatedDto | object
has_morebooleanrequiredWhether or not there are more elements available after this set. If
false, this set comprises the end of the list.limitnumberoptionalThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used.
offsetnumberoptionalThe (zero-based) offset of the first item in the collection to return.
totalnumberoptionalThe total items count.
itemsarray of ApplePayDomainrequired
400The merchant is not eligible for Apple Pay Domains.
/v1/apple-pay-domainsCreate an Apple Pay Domain
Creates an Apple Pay Domain. Registering a domain allows the merchant to accept Apple Pay on the web from that domain.
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Request body application/jsonrequired
hostnamestringrequiredThe domain hostname. Requires 'https' protocol (e.g. 'https://example.com')
Responses
201ApplePayDomain
account_idstringrequiredThe ID of the Account associated with the domain.
created_atstring date-timerequiredTime at which the object was created.
hostnamestringrequiredThe apple pay domain hostname.
idstringrequiredUnique identifier for the object.
updated_atstring date-timerequiredTime at which the object was last updated.
400The merchant is not eligible for Apple Pay Domains, or the hostname is invalid or already registered.
/v1/apple-pay-domains/{id}Delete an Apple Pay Domain
Deletes an Apple Pay Domain and unregisters it with Apple. This cannot be undone.
Path parameters
idstringrequired
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Responses
204object
400The merchant is not eligible for Apple Pay Domains.
/v1/apple-pay-domains/{id}Get an Apple Pay Domain
Retrieves the details of an existing Apple Pay Domain.
Path parameters
idstringrequired
Header parameters
payments-accountstringrequiredThe id of the Paydude Account (usually starting with the prefix
acct_) that the request is performed on behalf of. Must be a merchant (connected) account id, not the partner account you signed up with; a partner account passes GET /v1/accounts and then fails with "not enabled for this account" on the first payment call.
Responses
200ApplePayDomain
account_idstringrequiredThe ID of the Account associated with the domain.
created_atstring date-timerequiredTime at which the object was created.
hostnamestringrequiredThe apple pay domain hostname.
idstringrequiredUnique identifier for the object.
updated_atstring date-timerequiredTime at which the object was last updated.
400The merchant is not eligible for Apple Pay Domains.
