Skip to content

Consume Payment Link

Mark a payment link as consumed.

Method: PUT

Path: /v1/gaming/payment_links/consume/\{PAYMENT_LINK_ID}

Environments

Header Parameters

ParameterTypeRequiredDescription
X-API-KEYstringYour secret API key. Used to authenticate server-to-server requests.
X-PUBLISHABLE-KEYstringYour publishable API key. Identifies your merchant account in client-facing and server requests.

Path Parameters

ParameterTypeRequiredDescription
PAYMENT_LINK_IDstringThe payment link generated by the Create Payment Link call.
Request
curl --location --request PUT 'https://api-sandbox.boltapp.com/v1/gaming/payment_links/consume/{PAYMENT_LINK_ID}' \
--header 'Content-Type: application/json' \
--header 'X-PUBLISHABLE-KEY: YOUR_PUBLISHABLE_KEY' \
--header 'X-API-KEY: YOUR_API_KEY'
Response
{
  "id": "Qm87j28deGVcKWgdpQqfdu"
}

On this page