Payment Methods

Cancel a payment method

Cancels a payment method at the service that decides it (processed_by), revoking a wallet binding; a card's cancel changes nothing, as on core-api. Answers the method in core-api's response shape.

post/v1/payment_methods/{id}/cancel

Request

  • Base URL
    https://orders-api.paymongo.com
  • URL
    https://orders-api.paymongo.com/v1/payment_methods/{id}/cancel
  • Auth
    HTTP basic

Path parameters

idstring required

Payment method ID

Response

OK

Example response

{
  "data": {
    "id": "pm_abc123",
    "type": "payment_method"
  }
}

Changes

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