Prepare a gift-coupon checkout session
POST
/gift-coupon-checkout-sessions
const url = 'https://example.com/gift-coupon-checkout-sessions';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"checkoutSession":{"giftCouponCheckoutSessionId":"example","paymentProductPlanCode":"example","buyerSnapshot":{"partySnapshotId":"example","displayName":"example","phoneNumberFingerprint":"example","memberUserId":"example"},"receiverSnapshot":{"partySnapshotId":"example","displayName":"example","phoneNumberFingerprint":"example","memberUserId":"example"},"offerSelection":{"giftCouponOfferKey":"example","offerCatalogRevisionKey":"example","displayName":"example","purchaseAmountKrw":1,"sourceEvidenceKey":"example"},"idempotencyKey":"example","requestedAt":"2026-04-15T12:00:00Z","status":"awaiting_provider_draft","providerPaymentDraftId":"example","sourceLegacyPaymentCouponId":"example"},"staleUnpaidCutoffAt":"2026-04-15T12:00:00Z"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/gift-coupon-checkout-sessions \ --header 'Content-Type: application/json' \ --data '{ "checkoutSession": { "giftCouponCheckoutSessionId": "example", "paymentProductPlanCode": "example", "buyerSnapshot": { "partySnapshotId": "example", "displayName": "example", "phoneNumberFingerprint": "example", "memberUserId": "example" }, "receiverSnapshot": { "partySnapshotId": "example", "displayName": "example", "phoneNumberFingerprint": "example", "memberUserId": "example" }, "offerSelection": { "giftCouponOfferKey": "example", "offerCatalogRevisionKey": "example", "displayName": "example", "purchaseAmountKrw": 1, "sourceEvidenceKey": "example" }, "idempotencyKey": "example", "requestedAt": "2026-04-15T12:00:00Z", "status": "awaiting_provider_draft", "providerPaymentDraftId": "example", "sourceLegacyPaymentCouponId": "example" }, "staleUnpaidCutoffAt": "2026-04-15T12:00:00Z" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
PrepareGiftCouponCheckoutSession
object
checkoutSession
required
object
giftCouponCheckoutSessionId
required
string
paymentProductPlanCode
required
string
buyerSnapshot
required
object
partySnapshotId
required
string
displayName
required
string
phoneNumberFingerprint
required
string
memberUserId
string | null
key
additional properties
receiverSnapshot
required
object
partySnapshotId
required
string
displayName
required
string
phoneNumberFingerprint
required
string
memberUserId
string | null
key
additional properties
offerSelection
required
object
giftCouponOfferKey
required
string
offerCatalogRevisionKey
required
string
displayName
required
string
purchaseAmountKrw
required
integer
sourceEvidenceKey
required
string
key
additional properties
idempotencyKey
required
string
requestedAt
required
string format: date-time
status
required
string
providerPaymentDraftId
string | null
sourceLegacyPaymentCouponId
string | null
key
additional properties
staleUnpaidCutoffAt
required
string format: date-time
key
additional properties
Responses
Section titled “Responses”Gift-coupon checkout session plan
Media typeapplication/json
GiftCouponCheckoutSessionPlan
object
checkoutSession
required
object
giftCouponCheckoutSessionId
required
string
paymentProductPlanCode
required
string
buyerSnapshot
required
object
partySnapshotId
required
string
displayName
required
string
phoneNumberFingerprint
required
string
memberUserId
string | null
key
additional properties
receiverSnapshot
required
object
partySnapshotId
required
string
displayName
required
string
phoneNumberFingerprint
required
string
memberUserId
string | null
key
additional properties
offerSelection
required
object
giftCouponOfferKey
required
string
offerCatalogRevisionKey
required
string
displayName
required
string
purchaseAmountKrw
required
integer
sourceEvidenceKey
required
string
key
additional properties
idempotencyKey
required
string
requestedAt
required
string format: date-time
status
required
string
providerPaymentDraftId
string | null
sourceLegacyPaymentCouponId
string | null
key
additional properties
supersessionFacts
required
Array<object>
object
supersededGiftCouponCheckoutSessionId
required
string
replacementGiftCouponCheckoutSessionId
required
string
buyerAuthorityKey
required
string
supersededPurchaseAmountKrw
required
integer
replacementPurchaseAmountKrw
required
integer
supersededAt
required
string format: date-time
reasonCode
required
string
key
additional properties
key
additional properties
Gift-coupon checkout payload is invalid
Gift-coupon checkout request shape is invalid
Gift-coupon checkout runtime is unavailable