Get receipt of payment

  • This API can receive receipt of payment.

request receipt of payment#

bash
curl -X GET \
"https://develop.kokoon.cloud/kokoon/api/sr/v3/credit/payment/receipt/${pay_intent_id}" \
-H "Content-Type:application/json" \
-H 'Authorization: eyJraWQiOiJPMGs5...eyJzdWIiOiIzN2U3NzYxM'

request parameter#

  • pay_intent_id : pay_intent_id in credit_charged type.

response#

json
{
"receipt_url": "https://pay.stripe.com/receipts/payment/..."
}

response body field#

field type description
receipt_urlstringreceipt url.

error response#

  • receipt does not exist.
json
{
"message": "fail to get a payment receipt."
}