Payment Links

Cancel a payment link

post/payment_links/{id}/cancel

Request

  • Base URL: https://api.pinkwallet.com/v1
  • URL: https://api.pinkwallet.com/v1/payment_links/{id}/cancel
  • Auth: HTTP bearer

Path parameters

idstring required

Response

The cancelled payment link.

idstring
object'payment_link'
status'pending' | 'paid' | 'expired' | 'cancelled'
amountstring

A decimal amount as a string, e.g. "250.00".

assetstring
urlstring uri
addressstring
referencestring
tx_hashstring
expires_atstring date-time
paid_atstring date-time
created_atstring date-time

Example response

{
  "amount": "250.00"
}

Changes

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