curl --request POST \
--url https://api.scalev.com/v3/oauth/billing/refunds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"refund_idempotency_key": "<string>",
"reason_code": "<string>",
"reason": "<string>",
"billing_reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_charge_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {}
}
'{
"refund_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_charge_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refund_status": "succeeded",
"amount": 123,
"currency": "IDR",
"reason_code": "<string>",
"reason": "<string>",
"merchant_volt_transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"developer_earnings_entry_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inserted_at": "2023-11-07T05:31:56Z"
}No OAuth installation scope. OAuth flow endpoint. Requires an installed-app OAuth access token that owns the original authorized-business charge. Refunds are full post-capture reversals; reservation release remains the pre-capture flow.
curl --request POST \
--url https://api.scalev.com/v3/oauth/billing/refunds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"refund_idempotency_key": "<string>",
"reason_code": "<string>",
"reason": "<string>",
"billing_reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_charge_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {}
}
'{
"refund_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_charge_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_reservation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refund_status": "succeeded",
"amount": 123,
"currency": "IDR",
"reason_code": "<string>",
"reason": "<string>",
"merchant_volt_transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"developer_earnings_entry_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inserted_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Either billing_reservation_id or billing_charge_id is required. If both are supplied, they must identify the same captured charge. Refunds are full post-capture reversals.
OAuth billing refund
succeeded IDR