Skip to main content
POST
/
api
/
v1
/
customer-payments
/
{payment_id}
/
void
Anular cobranza de cliente
curl --request POST \
  --url https://api.lapyme.com.ar/api/v1/customer-payments/{payment_id}/void \
  --header 'Authorization: Bearer <token>' \
  --header 'Idempotency-Key: <idempotency-key>'
{
  "request_id": "<string>",
  "data": {
    "customer_payment": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "voided": true
    }
  }
}

Authorizations

Authorization
string
header
required

Incluí tu API key en el header Authorization con el prefijo Bearer.

Headers

Idempotency-Key
string
required

Path Parameters

payment_id
string<uuid>
required

Response

Cobranza anulada exitosamente

request_id
string
required
data
object
required