PHP (Extension) / APPIA API / DELETE CARD DETAILS
Back to Collection Items
<?php
include("chilkat.php");
$json->UpdateInt('payment_id',534);$http->put_AuthToken('{{auth}}');$success = $http->HttpJson('POST','https://domain.com/payment/delete/64',$json,'application/json',$resp);
?>
Curl Command
curl -X POST
-H "Authorization: Bearer {{auth}}"
-d '{
"payment_id": 534,
}'
https://domain.com/payment/delete/64
Postman Collection Item JSON
{
"name": "DELETE CARD DETAILS",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{auth}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"payment_id\": 534,\n}"
},
"url": {
"raw": "{{url}}/payment/delete/64",
"host": [
"{{url}}"
],
"path": [
"payment",
"delete",
"64"
]
}
},
"response": [
]
}