Physical Device Payments

Pairing

Physical device pairing request
post/api/v1/physical/pairing

Request body

application_keystring required

It is the key of your application on our environment

device_idstring

Device Fiscal Id

device_ownerstring

Device Owner

languagestring

Its default value is tr. If you want to get messages in other languages, please send it. You can find supported languages in the api supported_languages.

Example request

{
  "application_key": "6e3cdaa3-65df-4eff-aed2-9d74387701dd",
  "device_id": "N860W676041",
  "device_owner": "pavo",
  "language": "tr"
}

Response

Successful Response

response_codestring

You will get 00 for successful payments, 00307 for needs redirection, otherwise another response code for the error. You can reach the list of response codes on the Response Codes Api

messagestring

Here is the explanation of response code

pairing_idinteger

This is the pairing id

pairing_codestring

Pairing code, you will use this code on device pairing screen

Example response

{
  "response_code": "00",
  "message": "Successful Payment",
  "pairing_id": 789,
  "pairing_code": "245186"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.