Skip to main content

Refund Split Payments

POST 

/payments

Use this endpoint to split a refund of a split payment.

Request

Header Parameters

    Authorization string

    appToken created by /auth/token Format: Bearer xxxxxx...

    Example: Bearer <appToken>

Body

required

    data

    object

    A key for grouping different types of API data.

    type string

    The type of transaction.

    attributes

    object

    A key for grouping payment identification data.

    paymentType string

    Possible values: [cardSplitRefund]

    The type of payment transaction.

    merchantId string

    The merchant account number.

    miscData string

    Optional additional information to store with the call (optional).

    transaction

    object

    A key for grouping payment transaction data. Required for all payment types except secondSplit.

    amount string

    The transaction amount in cents.

    currency string

    The three-character code.

    invoice string

    The invoice number for the transaction.

    split

    object

    A key for grouping split information.

    merchantId string

    The merchant ID for the split transaction.

    amount string

    The amount to be split in cents.

    originalSplit

    object

    A key for referencing the original payment to be refunded.

    id string

    The transaction ID to be refunded.

Responses

Created

Schema

    links

    object

    self string

    URL for the current resource.

    data

    object

    type string

    The type of transaction.

    id string

    The payment transaction identification code.

    attributes

    object

    A key for grouping payment identification data.

    paymentType string

    The application key.

    transaction

    object

    A key for grouping payment identification data.

    code string

    The banking entity response code.

    message string

    The status of the transaction.

    amount string

    The transaction amount in dollars and cents.

    invoice string

    The invoice number for the transaction.

    currency string

    The currency used for the transaction.

Loading...