UPP Docs
Card

Get a card top-up or withdrawal

GET
/card-fundings/{fundingId}

Authorization

merchantApiKeymerchantTimestampmerchantNoncemerchantSignature
headerX-API-KEY<token>

Merchant API key (starts with upk_, also accepts api-key); signing headers are also required

headerX-Timestamp<token>

Unix timestamp in seconds, within 300 seconds of server time

headerX-Nonce<token>

Unique per request; cannot be reused with the same credential during the timestamp validity window

headerX-Signature<token>

Hex HMAC-SHA256 signature (either letter case) of the method, full path, timestamp, nonce and body digest

Path Parameters

fundingId*string

Response Body

Top-up or withdrawal

application/json
  1. response
id*string

Top-up / withdrawal ID (starts with cfd_)

card_id*string|null
type*string

top_up or withdraw

Value in"top_up""withdraw"
order_no*string

Your order number

amount*string

Amount moved into or out of the card

fee*string

Fee; charged on top of a top-up, deducted from the returned amount for a withdrawal

currency*string
status*CardFundingStatus
  • pending: accepted, being processed by the issuer
  • succeeded: succeeded and booked
  • failed: failed, see failure_reason; a held top-up amount has been released
Value in"pending""succeeded""failed"
failure_reason*string|null
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -X GET 'https://sandbox.getupp.net/api/v1/card-fundings/string'
Example Response
{  "id": "string",  "card_id": "string",  "type": "top_up",  "order_no": "string",  "amount": "string",  "fee": "string",  "currency": "string",  "status": "pending",  "failure_reason": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}