Skip to content

Commit 6eb2297

Browse files
committed
Added OPI Token Exchange API example
1 parent 6c8957f commit 6eb2297

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

postman-collections/oracle-hospitality-property.postman_collection.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135435,6 +135435,78 @@
135435135435
}
135436135436
}
135437135437
]
135438+
135439+
},
135440+
{
135441+
"name": "OPI Token Request API (tokenExchange)",
135442+
"item": [
135443+
{
135444+
"name": "post open Payment Token Exchange",
135445+
"event": [
135446+
{
135447+
"listen": "test",
135448+
"script": {
135449+
"exec": [
135450+
""
135451+
],
135452+
"type": "text/javascript"
135453+
}
135454+
}
135455+
],
135456+
"protocolProfileBehavior": {
135457+
"disabledSystemHeaders": {}
135458+
},
135459+
"request": {
135460+
"auth": {
135461+
"type": "bearer",
135462+
"bearer": [
135463+
{
135464+
"key": "token",
135465+
"value": "{{Token}}",
135466+
"type": "string"
135467+
}
135468+
]
135469+
},
135470+
"method": "POST",
135471+
"header": [
135472+
{
135473+
"key": "Content-Type",
135474+
"value": "application/json",
135475+
"type": "default"
135476+
},
135477+
{
135478+
"key": "x-app-key",
135479+
"value": "{{AppKey}}",
135480+
"type": "default"
135481+
}
135482+
],
135483+
"body": {
135484+
"mode": "raw",
135485+
"raw": "{\r\n \"cards\": [\r\n {\r\n \"recordNumber\": 1,\r\n \"pan\": \"4111111111111111\",\r\n \"expiryDate\": \"2312\"\r\n }\r\n ]\r\n}",
135486+
"options": {
135487+
"raw": {
135488+
"language": "json"
135489+
}
135490+
}
135491+
},
135492+
"url": {
135493+
"raw": "https://{{HostName}}/tokenExchange/v1/hotels/{{HotelId}}/tokens",
135494+
"protocol": "https",
135495+
"host": [
135496+
"{{HostName}}"
135497+
],
135498+
"path": [
135499+
"tokenExchange",
135500+
"v1",
135501+
"hotels",
135502+
"{{HotelId}}",
135503+
"tokens"
135504+
]
135505+
}
135506+
},
135507+
"response": []
135508+
}
135509+
]
135438135510
}
135439135511
]
135440135512
}

0 commit comments

Comments
 (0)