Skip to main content
POST
/
v1
/
terminal
/
payments
/
{id}
/
void
Void a Terminal Payment
curl --request POST \
  --url https://terminal-dev.xendit.co/v1/terminal/payments/{id}/void \
  --header 'Authorization: Basic <encoded-value>'
{
  "code": "SUCCESS",
  "error_code": "",
  "message": "Void request created successfully"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Terminal Payment ID

Response

Terminal void request created successfully

code
string
Example:

"SUCCESS"

error_code
string
Example:

""

message
string
Example:

"Void request created successfully"