Przejdź do głównej zawartości

Refund status

GET 

/v1/refunds/:refundId/status

Retrieve refund status after the refund request has been submitted

Request

Path Parameters

    refundId stringrequired

    Possible values: >= 16 characters and <= 16 characters, Value must match regular expression ^([a-zA-Z0-9]{4}(-[a-zA-Z0-9]{3}){3})$

    Unique ID of a refund generated by Paynow

Header Parameters

    User-Agent string

    The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent.

    Accept stringrequired

    The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Can be set to */*.

Responses

Success

Schema

    refundId refundIdrequired

    Unique ID of a refund generated by Paynow

    status RefundStatus (string)required

    Current status of the refund. More information you can find here

    Possible values: [NEW, PENDING, SUCCESSFUL, FAILED, CANCELLED]

    failureReason FailureReason (string)

    Refund failure reason

    • CARD_BALANCE_ERROR means that there are insufficient funds in the card balance
    • BUYER_ACCOUNT_CLOSED means that buyer's account is closed
    • OTHER means other reason

    Possible values: [CARD_BALANCE_ERROR, BUYER_ACCOUNT_CLOSED, OTHER]

Loading...