On Providing Merchant Validation
Developing
POST
https://api.zid.sa/v1{providerBaseURL}/applepay/initiate
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.paymentprovider.com/applepay/initiate?validationUrl=https://apple-pay-gateway.apple.com/paymentservices/startSession&displayName=Zid Store&domainName=store.zid.sa&publishableApiKey=pk_test_abc123xyz'
Response Response Example
{
"merchantSession": {}
}
Request
Path Params
providerBaseURL
string
required
Example:
https://api.paymentprovider.com
Query Params
validationUrl
string
optional
Example:
https://apple-pay-gateway.apple.com/paymentservices/startSession
displayName
string
optional
Example:
Zid Store
domainName
string
optional
Example:
store.zid.sa
publishableApiKey
string
optional
Example:
pk_test_abc123xyz