API
  1. Group
API
  • Guides
    • Welcome
    • Interface
  • API Reference
    • Introduction
    • Endpoints
    • Data Types
    • Signing
    • 3-D Secure Verification
    • Subscription
    • Errors
    • Webhooks
    • Items Information
    • Changelog
    • Acquiring
      • Create a direct payment
        POST
      • Create a APM payment
        POST
      • Create a redirect (iFrame) payment
        POST
      • Query a transaction
        POST
      • Refund a transaction
        POST
      • Search a refund transaction
        POST
      • Review a transaction
        POST
      • Cancel a transaction
        POST
      • Cancel a subscription
        POST
      • Capture a transaction
        POST
      • Create a payout
        POST
      • Optimise payment methods
        POST
    • Issuing
      • Cardholder
        • Create cardholder
          POST
        • Delete cardholder
          POST
        • Query cardholder
          POST
      • Group
        • Create group
          POST
        • Query group details
          POST
        • Cancel group
          POST
        • Refund group
          POST
        • Update group status
          POST
        • Recharge group
          POST
      • Card
        • Create a card
        • Query card BIN
        • Recharge card
        • Withdraw from a card
        • Cancel a card
        • Update card status
        • Update card limit
        • Query card details
  • Appendix
    • Test Cards
    • Bank Code
    • Country Code
    • Currency Code
    • Payment Methods
  1. Group

Refund group

POST
/group/refund
Refund an amount to a group

Request

Body Params application/json

Example
{
    "request_id": "",
    "company_id": "4101",
    "group_id": "5901",
    "refund_amount": "11.36",
    "sign": "6EB709A13FB269CA10494C1B34EF6E0FCBF68047740B6AFF4D8D2C6B9B2EA89A"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox.vcc.top/api/group/refund' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_id": "",
    "company_id": "4101",
    "group_id": "5901",
    "refund_amount": "11.36",
    "sign": "6EB709A13FB269CA10494C1B34EF6E0FCBF68047740B6AFF4D8D2C6B9B2EA89A"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "msg": {
        "zh-CN": "成功",
        "en-US": "Success"
    },
    "data": {
        "companyId": 4101,
        "groupId": 5901,
        "refundAmount": 11.36,
        "status": "1",
        "reqNo": 114001
    }
}
Modified at 2024-11-15 07:35:50
Previous
Cancel group
Next
Update group status