step1
An example of how to use this function can be found here
- Endpoint
/ajax.php?step1
- Method
POST
Property | Required | Type | Description |
---|---|---|---|
version | false | string | The current version of the checkout (Currently 1.7.26) |
eid | true | string | The merchant id |
hash | true | string | The order hash |
test | false | string | If set to 1 (or true), the request will be treated as a test |
bankidkey | false | string | The BankID key, if the customer is using BankID |
status | false | string | The status of the checkout |
true | string | The customer's email address | |
pno | false | string | The customer's personal number |
type | false | string | The type of customer (person or company) |
zip | false | string | The customer's zip code |
version=1.7.26&eid=12345&hash=123456789d8957648458c9c2cee4bd03b4a8f6ae&test=true&bankidkey=&status=Step1Loaded&email=nisse.hult%40exampe.com&pno=19550101-1001&type=person&zip=
Response
Without complete data
{
"step1":{
"code":"50010",
"message":"Billmate Error Code: 50010. Checkout: Du måste ange ett postnummer",
"logid":"1234567890"
},
"address":false,
"quickPayments":[]
}
With complete data
{
"step1":{
"result":"OK"
},
"address":{
"firstname":"Nisse",
"lastname":"Hult",
"street":"Testvägen 1",
"zip":"12345",
"city":"Testinge",
"country":"SE",
"phone":"SE",
"email":"nisse.hult@example.com",
"type":"person"
},
"status":"Step2Loaded",
"quickPayments":[]
}
Last modified: 13 September 2024