OpenapiBilling
Fulfill_payment
Path Parameters
attemptId*string
Payment Attempt ID
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
completedAt*string
providerStatus*string
providerTransactionId*string
realmId*string
Realm the caller intends to fulfill in. The attempt's own realm must match or the request is rejected — the internal key is global, so this binding is what stops a (leaked or mistyped) call from completing a payment attempt in an arbitrary other realm.
Response Body
application/json
curl -X POST "https://example.com/api/internal/bill/purchase/payment-attempts/497f6eca-6276-4993-bfeb-53cbbbba6f08/fulfill" \ -H "Content-Type: application/json" \ -d '{ "completedAt": "string", "providerStatus": "string", "providerTransactionId": "string", "realmId": "string" }'{ "grantedAt": "string", "pointGrants": [ { "bucketId": "1980377d-7926-47e0-9e64-a9d0c746404d", "description": "string", "points": 0, "pointsType": "string", "resultId": "bfb2617a-91d0-4d69-bd0f-b3c7d35c900b", "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac" } ], "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f", "type": "string"}Empty
Empty
Empty