post_credits_reference

You are here

post_credits_reference

post

post_credits_reference

Used to process a credit. Referencing a previous transaction allows you to issue a refund without knowing the card number and expiration date.

https://api-cert.sagepayments.com/ach/v1 /credits/{reference}

Name Values Description
clientId
(required)

Application Identifier also known as API Key

merchantId
(required)

Merchant Identifier

merchantKey
(required)

Merchant Key

nonce
(required)

Secure random number used only once

timestamp
(required)

Epoch time stamp

Authorization
(required)

Authorization token, HMAC value of: verb + url + body + merchantId + nonce + timestamp

Content-Type
(required)

Valid values are "application/json"

Name Values Description
request

The data describing the Credit to be processed

reference The reference to an existing Credit true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400
    400

    Bad Request

  • 401
    401

    Unauthorized

Resource Summary

Security

Content Type

application/json

Category

Credits

Name Type Description
Name Type Description
{
  "code": "<error code>",
  "message": "<error message>",
  "info": "<url to error  page>",
  "detail": "<error details>"
}
Please visit our error page for additional information
https://developer.sagepayments.com/docs/errors
Type Card Numbers
Visa
MasterCard
American Express
Discover

Working...