Activate Physical Gift CardAsk AIpost https://pt-api.wpay.com.au/v1/partner/giftcards/activations/physicalThis API allows you to activate a physical gift card.Body Paramspaymentsarray of objectslength between 1 and 1The account the gift card amounts will be deducted from. Requires one single element to indicate the payment will be made using the SVA.payments objectcodestringenumrequiredDefaults to svcAlways use the code 'svc'.svcAllowed:svcamountnumberrequiredThe payment amount for the order. This value must match the sum of 'price' times 'qty' for all cards in this order.productsarray of objectslength between 1 and 1Only one single physical card may be activated per API call.products objectskustringThe gift card identifier (SKU). The list of gift cards you may order will be predefined and shared during the onboarding process.pricenumberThe currency amount to load onto the gift card.qtynumberDefaults to 1Only 1 physical card may be activated per API call.currencystringlength between 3 and 3Use 036 for AUD currency. The full list of valid codes is defined at https://en.wikipedia.org/wiki/ISO_4217cardNumberstringrequiredThe card number of the gift card to be activatedtrackDatastringThe trackData or barcode of the gift cardrefnostringrequiredlength ≤ 55A unique order reference identifier you generate and supply.outletNamestringThe outlet name from where the gift card activation is triggered. This is required for partners who have multiple outletsorderTypestringDefaults to FULFILLMENT_BY_SELLERPhysical card activations require the value 'FULFILLMENT_BY_SELLER'.syncOnlybooleanrequiredDefaults to trueAlways supply the value of truetruefalseResponses 201This response code indicates the physical gift card activation has been successfully submitted. 400This response code indicates that an error was encountered when submitting the order. The cause will be a validation problem or logic rule. 500This response code indicates that an unexpected error has occurred.Updated almost 4 years ago