Physical Card Order
Attach a coupon to a Physical Card Order
This endpoint associates a provided coupon code with an existing card order by its orderId. Use the GPDOCS coupon code to get the card for free.
post/api/v1/order/{orderId}/attach-coupon
Request
- Base URLhttps://api.gnosispay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orderIdstring required
The unique identifier of the card order to which the coupon will be attached.
Request body
Example request
{
"couponCode": "DISCOUNT2023"
}Response
Coupon successfully attached to the card order.
Example response
{
"couponCode": "DISCOUNT2023"
}Changes
No recorded changes to this operation across all 1 revision of this API.