Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Guides Cards Physical card shipping

Physical card shipping

Physical cards are Not yet available through the API. This page lists the shipping address rules that apply when they are.

2 min read

Status. Not yet available. Contact support before you offer physical cards.

This page lists the shipping address rules for physical cards. Today a physical card cannot make a payment:

•
In sandbox, the API refuses a physical card request with card creation failed! and leaves an empty card row that you cannot use.
•
In live, the card starts inactive, and there is no API call to activate it.

Issue virtual cards instead.

A money example. Ada wants a plastic card for a 60 USD restaurant bill. Until physical cards are available, you issue her a virtual card with a 300 USD daily limit and she pays with it from her phone.

Shipping address rules

A physical card request (Create a card with card_type physical) needs shipping_address:

FieldRule
address_line1Required, up to 255 characters
cityRequired, up to 100 characters
stateOptional, up to 100 characters
postal_codeRequired. Send it as a string, so it keeps its leading zeros
country_codeRequired. 2 capital letters, such as NG or US
phone_numberRequired, 10 to 20 characters, with the country code
methodRequired. One of standard, express, international, apc, uspsInternational, overnight

Gravv ignores address_line2, so put the whole street address in address_line1.

shipping_address
{
"address_line1": "12 Admiralty Way",
"city": "Lagos",
"state": "Lagos",
"postal_code": "106104",
"country_code": "NG",
"phone_number": "+2348031234567",
"method": "international"
}

Gravv has not yet published which countries and methods a card can ship to.

What can go wrong

ResponseWhyFix
400 shipping_address is required for a physical cardThe request has no addressSend shipping_address
400 Method must be one of: standard express international apc uspsInternational overnightmethod is not an allowed valueUse an allowed value
400 PostalCode is requiredpostal_code is missing or nullSend it as a string
400 CountryISOCode must be a valid ISO 3166-1 alpha-2 country codeThe code has 3 letters or is lower caseSend 2 capital letters, such as NG or US
400 PhoneNumber must be at least 10The number is too shortSend the full number with the country code
400 card creation failed!The card program refused the card. In sandbox, this happens to every physical request todayIssue a virtual card and ignore the empty row
Was this page helpful? Yes No